예제 #1
0
 protected override AvailableOptions[] GetAvailableOptions(Direction direction)
 {
     return(new[]
     {
         AvailableOptions.AnyMove(),
         AvailableOptions.Are(Option.AttackWithFire, Option.ConsumeFire, Option.NoOperation)
     });
 }
예제 #2
0
 protected override AvailableOptions[] GetAvailableOptions(Direction direction)
 {
     if (direction.IsHorizontal)
     {
         return(new[]
         {
             AvailableOptions.AnyMove()
         });
     }
     else
     {
         return(new[]
         {
             AvailableOptions.Are(Option.NoOperation)
         });
     }
 }
예제 #3
0
 protected override AvailableOptions[] GetAvailableOptions(Direction direction)
 {
     if (direction.IsVertical)
     {
         return new[]
         {
             AvailableOptions.AnyMove()
         };
     }
     else
     {
         return new[]
         {
             AvailableOptions.Are(Option.NoOperation)
         };
     }
 }