コード例 #1
0
        public override void Move(Cell destinationCell, List <Cell> path)
        {
//			(Cell as MyOtherHexagon).IsSkyTaken = false;
//			(destinationCell as MyOtherHexagon).IsSkyTaken = true;
            base.Move(destinationCell, path);
        }
コード例 #2
0
        public override bool IsCellTraversable(Cell cell)
        {
//			return !(cell as MyOtherHexagon).IsSkyTaken;//Allows unit to move through any cell that is not occupied by a flying unit.
            return(false);
        }