Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
multiplayer
main
ClientProxy
Write
Fight
Move
Moves
FightMine
FightObj
FightPl
FourInARow
Move
Moves
Game
Events
GameCreated
InvalidCommandEntered
JoinFailed
PlayerJoined
PlayerJoinedServer
PlayerLeft
PlayerMoved
PlayerWon
GameStatus
Info
GameList
GameStateInfo
Move
ServerEvent
ServerInfo
GameId
Mine
MultiplayerServer
MyProg
Player
PlayerId
RockPaperScissors
Move
Moves
Built with Crystal 1.9.2
2023-10-08 11:57:07 UTC
struct
Game::Events::InvalidCommandEntered
Game::Events::InvalidCommandEntered
Game::ServerEvent
Struct
Value
Object
Defined in:
common/game.cr
Constructors
.new
(cmd : String | Nil)
Instance Method Summary
#clone
#cmd
: String | Nil
#copy_with
(cmd _cmd = @cmd)
Instance methods inherited from struct
Game::ServerEvent
initialize
initialize
Constructor methods inherited from struct
Game::ServerEvent
new
new
Constructor Detail
def self.
new
(cmd : String | Nil)
#
[
View source
]
Instance Method Detail
def
clone
#
[
View source
]
def
cmd
: String | Nil
#
def
copy_with
(cmd _cmd = @cmd)
#
[
View source
]