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
Player
Player
Struct
Value
Object
Defined in:
common/game.cr
Constructors
.new
(id : PlayerId)
Instance Method Summary
#clone
#copy_with
(id _id = @id)
#id
: PlayerId
Constructor Detail
def self.
new
(id :
PlayerId
)
#
[
View source
]
Instance Method Detail
def
clone
#
[
View source
]
def
copy_with
(id _id = @id)
#
[
View source
]
def
id
:
PlayerId
#