コード例 #1
0
 public static bool HasWall(this NodeWalls nodeWalls, NodeWalls flag)
 {
     return(((int)nodeWalls & (int)flag) != 0);
 }
コード例 #2
0
 public static NodeWalls OppositeWall(this NodeWalls orig)
 {
     return((NodeWalls)(((int)orig >> 2) | ((int)orig << 2)) & NodeWalls.Initial);
 }
コード例 #3
0
ファイル: Node.cs プロジェクト: cdeneau23/Maze-Generator
 public void RemoveWall(NodeWalls wall)
 {
     Walls -= wall;
 }