struct Game::Events::PlayerLeft

Defined in:

common/game.cr

Constructors

Instance Method Summary

Instance methods inherited from struct Game::ServerEvent

initialize initialize

Constructor methods inherited from struct Game::ServerEvent

new new

Constructor Detail

def self.new(player_id : PlayerId, game_id : GameId) #

[View source]

Instance Method Detail

def clone #

[View source]
def copy_with(player_id _player_id = @player_id, game_id _game_id = @game_id) #

[View source]
def game_id : GameId #

def player_id : PlayerId #