public override void Init(Node[,] boardRef, int x, int y) { base.Init(boardRef, x, y); CurrentNode.AttempChangeState(Node.eState.ENEMY); StartCoroutine("DelayedLoad"); inRange = behaviourType != eBehaviour.LAZY; }
public override void Init(Node[,] boardRef, int x, int y) { base.Init(boardRef, x, y); speed = GameManager.PersistentData.GameBalance.GetPlayerSpeed(GameManager.PlayerData.Level); CurrentNode.AttempChangeState(Node.eState.PLAYER); }