コード例 #1
0
 public void Execute(Miner entityType)
 {
     Console.Write($"\n{Constants.GetNameOfEntity((Entity)entityType.Id)}: Tastes real good too!");
     entityType.StateMachine.RevertToPreviousState();
 }
コード例 #2
0
 public void Exit(Miner entityType)
 {
     Console.Write($"\n{Constants.GetNameOfEntity((Entity)entityType.Id)}: Thankya hun! Ahh better get back to watever ahh wuz doin!");
 }
コード例 #3
0
 public void Enter(Miner entityType)
 {
     Console.Write($"\n{Constants.GetNameOfEntity((Entity)entityType.Id)}: Smells Reaaal good Elsa");
 }