Rewrite map rendering
This commit is contained in:
@ -3,7 +3,7 @@ require "./spec_helper"
|
||||
module Game::TestBuilding
|
||||
describe Building do
|
||||
it "should create storehouse" do
|
||||
bg = Building.new Building::Type::Storehouse, storage: 100
|
||||
bg = Building.new Building::Type::StartPoint, storage: 100
|
||||
bg.storage.should eq 100
|
||||
end
|
||||
|
||||
|
@ -13,7 +13,8 @@ module Game::TestCommand
|
||||
Point.new(0, 0),
|
||||
Building.new(
|
||||
Building::Type::StartPoint,
|
||||
storage: 200, roles: [Building::Role::Storehouse]
|
||||
storage: 200,
|
||||
roles: [Building::Role::Storehouse]
|
||||
)
|
||||
)
|
||||
map.set DepositTile.new(
|
||||
|
Reference in New Issue
Block a user