This commit is contained in:
Colby 2016-08-11 20:39:07 +10:00
parent b9e1d18a4e
commit e311bd6ed1

17
lib/waterfoul/map.rb Normal file
View file

@ -0,0 +1,17 @@
module Waterfoul
class Map
MAP_0_START_ADDR = 0x0
MAP_1_START_ADDR = 0x0
def initialize(map_no = 0)
map_number map_no
end
def map_number(map_no)
raise 'unknown map number' unless [0, 1].include? map_no
end
def tiles
end
end
end