Documentation ¶
Index ¶
- type Action
- type Gender
- type Player
- func (thisPlayer *Player) ChatId() int64
- func (thisPlayer *Player) Gender() Gender
- func (thisPlayer *Player) Name() string
- func (thisPlayer *Player) SetChatId(chatId int64)
- func (thisPlayer *Player) SetGender(gender Gender)
- func (thisPlayer *Player) SetName(name string)
- func (thisPlayer *Player) SetWorld(world *World)
- func (thisPlayer *Player) World() *World
- type StaticData
- type World
- func (thisWorld *World) ChangeTurn()
- func (thisWorld *World) CurrentPlayer() *Player
- func (thisWorld *World) Execute(command string)
- func (thisWorld *World) Init()
- func (thisWorld *World) InitTurn(forcedPlayer *Player)
- func (thisWorld *World) IsTrue(command string) bool
- func (thisWorld *World) Opponent() *Player
- func (thisWorld *World) PlayerF() *Player
- func (thisWorld *World) PlayerM() *Player
- func (thisWorld *World) SetPlayerF(player *Player)
- func (thisWorld *World) SetPlayerM(player *Player)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StaticData ¶
type World ¶
type World struct {
// contains filtered or unexported fields
}
func (*World) ChangeTurn ¶
func (thisWorld *World) ChangeTurn()
func (*World) CurrentPlayer ¶
func (*World) SetPlayerF ¶
func (*World) SetPlayerM ¶
Click to show internal directories.
Click to hide internal directories.