コード例 #1
0
 protected override void Execute(PieceMoved msg)
 {
     if (msg.Piece.Equals(gameObject))
     {
         map.GetTile(msg.From).IfPresent(
             t => Message.Publish(new ObjectDestroyed(t)));
     }
 }