struct Game::Events::PlayerWon

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 | Nil) #

[View source]

Instance Method Detail

def clone #

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

[View source]
def player_id : PlayerId | Nil #