Class ChangeSceneState
When reached this state, change to another scene.
Inherited Members
Namespace: AutoBattleFramework.BattleBehaviour.States
Assembly: cs.temp.dll.dll
Syntax
public class ChangeSceneState : BattleState
Fields
ChangeSceneTo
Name of the scene to be changed to.
Declaration
public string ChangeSceneTo
Field Value
Type | Description |
---|---|
String |
ShowWinButton
Show the win panel
Declaration
public bool ShowWinButton
Field Value
Type | Description |
---|---|
Boolean |
Methods
AllowFieldDrag(GameActor)
Characters and items can not be moved in this state.
Declaration
public override bool AllowFieldDrag(GameActor actor)
Parameters
Type | Name | Description |
---|---|---|
GameActor | actor |
Returns
Type | Description |
---|---|
Boolean | True, Characters and items can not be moved in this state. |
Overrides
CharacterAIUpdate(GameCharacter)
The characters will stand still in this state.
Declaration
public override void CharacterAIUpdate(GameCharacter character)
Parameters
Type | Name | Description |
---|---|---|
GameCharacter | character | Character to be updated. |
Overrides
OnStageStart()
Reset the timer.
Declaration
public override void OnStageStart()
Overrides
OnTimerFinish()
Restart the scene when time reaches zero.
Declaration
public override void OnTimerFinish()
Overrides
Update()
Do nothing
Declaration
public override void Update()