class GeoWars::Match

Defined in:

geo_wars/match.cr

Constant Summary

HUD_INFO_BACKGROUND_COLOR = LibRay::Color.new(r: 0, g: 0, b: 0, a: 100)
HUD_INFO_TEXT_PADDING = 8
HUD_MARGIN = 8
NEXT_TURN_KEY_HOLD_INITIAL_TIMER = 0.5
NEXT_TURN_KEY_HOLD_TIMER = 1
TURN_TEXT_PADDING = 4

Constructors

Instance Method Summary

Constructor Detail

def self.new(map : GeoWars::Map, players : Array(GeoWars::Player)) #

[View source]
def self.new #

[View source]

Instance Method Detail

def cursor_cell(*args, **options) #

[View source]
def cursor_cell(*args, **options, &) #

[View source]
def draw #

[View source]
def draw_hud #

[View source]
def draw_hud_info #

[View source]
def draw_hud_terrain_info #

[View source]
def draw_hud_turn #

[View source]
def draw_hud_unit_info #

[View source]
def new_turn #

[View source]
def selected_unit(*args, **options) #

[View source]
def selected_unit(*args, **options, &) #

[View source]
def turn_player #

[View source]
def update(frame_time) #

[View source]