Permalink
Please sign in to comment.
Showing
with
63 additions
and 25 deletions.
- +8 −5 lib/domain/player.rb
- +4 −2 lib/factories/game_internals_factory.rb
- +3 −1 lib/factories/monster_factory.rb
- +4 −0 lib/game_requirements.rb
- +5 −5 lib/helpers/animated_sprite_helper.rb
- +6 −5 lib/npcs/monster.rb
- +2 −2 lib/npcs/talking_n_p_c.rb
- +3 −1 lib/processes/reloader_helper.rb
- +4 −3 lib/tile_system/coordinate_helper.rb
- +11 −0 lib/tile_system/positioned_tile_coordinate.rb
- +11 −0 lib/tile_system/sdl_coordinate.rb
- +2 −1 spec/battle/battle_victory_helper_spec.rb
@@ -0,0 +1,11 @@ | ||
+# To change this template, choose Tools | Templates | ||
+# and open the template in the editor. | ||
+ | ||
+class PositionedTileCoordinate | ||
+ attr_accessor :position, :dimension | ||
+ def initialize(position_coords, dimension_coords) | ||
+ @position = position_coords | ||
+ @dimension = dimension_coords | ||
+ | ||
+ end | ||
+end |
@@ -0,0 +1,11 @@ | ||
+# To change this template, choose Tools | Templates | ||
+# and open the template in the editor. | ||
+ | ||
+class SdlCoordinate | ||
+ attr_accessor :x, :y | ||
+ def initialize(x,y) | ||
+ @x = x | ||
+ @y = y | ||
+ | ||
+ end | ||
+end |
0 comments on commit
9ff4695