Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
village
master
App
CLI
CommandRouter
Route
RouteHandler
Game
BaseException
BuildCommand
Building
Role
Type
BuildingFactory
BuildingTile
Capacity
Command
Construction
ConstructionSiteTile
Deposit
DepositTile
InvalidPlaceForBuilding
Map
DataArray
TileRow
MapGenerator
MineCommand
Mining
NotEnoughtResources
PlateauTile
Point
ProduceCommand
Production
Queue
Item
Resource
Type
ResourceBag
ResourceHash
ResourceCommand
ResourceMismatch
RestoreCommand
Tile
TimePoint
TimeSpan
World
Built with Crystal 1.9.2
2023-10-08 14:03:26 UTC
class
Game::Production
Game::Production
Reference
Object
Defined in:
game/building.cr
Constructors
.new
(ts : TimeSpan, input : ResourceBag, output : ResourceBag)
Instance Method Summary
#input
: Game::ResourceBag
#output
: Game::ResourceBag
#ts
: Int32 | Int64
Constructor Detail
def self.
new
(ts :
TimeSpan
, input :
ResourceBag
, output :
ResourceBag
)
#
[
View source
]
Instance Method Detail
def
input
:
Game::ResourceBag
#
[
View source
]
def
output
:
Game::ResourceBag
#
[
View source
]
def
ts
: Int32 | Int64
#
[
View source
]