class Game::World

Defined in:

game/world.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(map : Map, ts : TimePoint = 0_i64) #

[View source]

Instance Method Detail

def map : Game::Map #

[View source]
def push(command : Command) : TimePoint #

[View source]
def queue : Game::Queue #

[View source]
def resources : Game::ResourceBag #

[View source]
def run(ts : TimePoint) #

[View source]
def score : Int32 #

[View source]
def ts : Int64 #

[View source]
def ts=(ts : TimePoint) #

[View source]
def win? #

[View source]