コード例 #1
0
 public void ToHappy()
 {
     currentState.ResetPathColor();
     currentState = new HappyState(self);
     currentState.Enter();
 }
コード例 #2
0
ファイル: Flagger.cs プロジェクト: MilkTicc/AI-Projects
        public void Captured(OrientedActor capturer)
        {
            currentState.ResetPathColor();

            currentState = new CapturedState(self, capturer);
        }