object SinglePlayerLevels
Manages singlePlayer levels.
- Alphabetic
- By Inheritance
- SinglePlayerLevels
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
getCampaignLevels: List[CampaignLevel]
Get the campaign levels.
Get the campaign levels.
- returns
List[CampaignLevel]
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getLevelsInfo: List[LevelInfo]
Get the campaign levels info.
Get the campaign levels info.
- returns
List[LevelInfo]
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
init(levelsInfo: List[Option[LevelInfo]]): Unit
Initialize singleton with single player levels.
Initialize singleton with single player levels.
- levelsInfo
List of Option[LevelInfo]
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
newEndGameEvent(endGame: GameStateEventWrapper, levelName: String): Unit
Should be called when user win or lose a campaign level.
Should be called when user win or lose a campaign level.
- endGame
end game result GameWon or GameLost.
- levelName
name of the played level.
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
reset(): Unit
Reset the user progress.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toDoLevel(campaignLevels: List[CampaignLevel] = levels): String
Return the last unlocked level.
Return the last unlocked level.
- returns
the last unlocked level.
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
updateUserStat(campaignProgress: List[CampaignLevel]): Unit
Update campaign progress, should be called once when the game starts.
Update campaign progress, should be called once when the game starts.
- campaignProgress
campaign progress List[CampaignLevels]
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- implicit val who: String