Documentation
¶
Index ¶
- type Duels
- func (d *Duels) CheckEnd()
- func (d *Duels) Create(g igame.IGame)
- func (d *Duels) EndingTime() int
- func (d *Duels) Game() igame.IGame
- func (d *Duels) HandleBlockBreak(ctx *player.Context, pos cube.Pos, drops *[]item.Stack, xp *int)
- func (d *Duels) HandleBlockPlace(ctx *player.Context, pos cube.Pos, b world.Block)
- func (d *Duels) HandleHurt(ctx *player.Context, damage *float64, immune bool, immunity *time.Duration, ...)
- func (d *Duels) MaxParticipants() int
- func (d *Duels) MinimumParticipants() int
- func (d *Duels) Name() string
- func (d *Duels) OnEnd()
- func (d *Duels) OnInit()
- func (d *Duels) OnJoin(p *player.Player) error
- func (d *Duels) OnJoined(par igame.IParticipant, p *player.Player)
- func (d *Duels) OnQuit(p *player.Player)
- func (d *Duels) OnStart()
- func (d *Duels) OnStop()
- func (d *Duels) OnTick()
- func (d *Duels) PlayingTime() int
- func (d *Duels) SetKit(kit kit.Kit)
- func (d *Duels) WaitingTime() int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Duels ¶
func (*Duels) EndingTime ¶
func (*Duels) HandleBlockBreak ¶
func (*Duels) HandleBlockPlace ¶
func (*Duels) HandleHurt ¶
func (*Duels) MaxParticipants ¶
func (*Duels) MinimumParticipants ¶
func (*Duels) PlayingTime ¶
func (*Duels) WaitingTime ¶
Click to show internal directories.
Click to hide internal directories.