Class: MazeMagic::MazeGenerator::South
- Inherits:
-
Object
- Object
- MazeMagic::MazeGenerator::South
- Includes:
- Singleton
- Defined in:
- lib/maze_magic/maze_generator/south.rb
Instance Method Summary collapse
Instance Method Details
#direction_x ⇒ Object
6 7 8 |
# File 'lib/maze_magic/maze_generator/south.rb', line 6 def direction_x 0 end |
#direction_y ⇒ Object
10 11 12 |
# File 'lib/maze_magic/maze_generator/south.rb', line 10 def direction_y 1 end |
#oposite ⇒ Object
14 15 16 |
# File 'lib/maze_magic/maze_generator/south.rb', line 14 def oposite North.instance end |
#to_i ⇒ Object
18 19 20 |
# File 'lib/maze_magic/maze_generator/south.rb', line 18 def to_i 2 end |