//Execute new command
 public void Execute()
 {
     _receiver.MoveOperation(_gameObject, _direction, _distance);
 }
Beispiel #2
0
 //Execute new command
 public void excute(INotification note)
 {
     _receiver.MoveOperation(_gameObject, _direction, _distance);
 }
 //Execute new command
 public IEnumerator Execute()
 {
     yield return(_receiver.MoveOperation(_gameObject, _Map, _direction, _distance, false));
 }