LogicBattleStateEnd.cs 574 B

12345678910111213141516171819202122232425262728
  1. 
  2. public class LogicBattleStateEnd : LogicBattleState
  3. {
  4. public static LogicBattleState Creator (LogicBattle battle)
  5. {
  6. return new LogicBattleStateEnd (battle);
  7. }
  8. public LogicBattleStateEnd (LogicBattle battle)
  9. : base (battle, LogicBattleStateType.End)
  10. {
  11. }
  12. float waitTime = 1.0f;
  13. bool notify = false;
  14. public override void OnEnter ()
  15. {
  16. //EventMgr.DispatchEvent<bool>(new CoreEvent<bool>(ECoreEventType.EID_BATTLE_NEXT_MAP, true));
  17. }
  18. public override void OnLeave ()
  19. {
  20. }
  21. public override void Update (float deltaTime)
  22. {
  23. }
  24. }