Documentation ¶
Index ¶
- func NewSubControl() *subControl
- type Controller
- type GenericController
- type PlayerController
- func (controller *PlayerController) GetCursors() []*graphics.Cursor
- func (controller *PlayerController) GetRuleset() *osu.OsuRuleSet
- func (controller *PlayerController) InitCursors()
- func (controller *PlayerController) KeyEvent(w *glfw.Window, key glfw.Key, scancode int, action glfw.Action, ...)
- func (controller *PlayerController) SetBeatMap(beatMap *beatmap.BeatMap)
- func (controller *PlayerController) Update(time float64, delta float64)
- type ReplayController
- func (controller *ReplayController) GetBeatMap() *beatmap.BeatMap
- func (controller *ReplayController) GetClick(player, key int) bool
- func (controller *ReplayController) GetCursors() []*graphics.Cursor
- func (controller *ReplayController) GetReplays() []RpData
- func (controller *ReplayController) GetRuleset() *osu.OsuRuleSet
- func (controller *ReplayController) InitCursors()
- func (controller *ReplayController) SetBeatMap(beatMap *beatmap.BeatMap)
- func (controller *ReplayController) Update(time float64, delta float64)
- type RpData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSubControl ¶
func NewSubControl() *subControl
Types ¶
type Controller ¶
type Controller interface { SetBeatMap(beatMap *beatmap.BeatMap) InitCursors() Update(time float64, delta float64) GetCursors() []*graphics.Cursor }
func NewGenericController ¶
func NewGenericController() Controller
func NewPlayerController ¶
func NewPlayerController() Controller
func NewReplayController ¶
func NewReplayController() Controller
type GenericController ¶
type GenericController struct {
// contains filtered or unexported fields
}
func (*GenericController) GetCursors ¶
func (controller *GenericController) GetCursors() []*graphics.Cursor
func (*GenericController) InitCursors ¶
func (controller *GenericController) InitCursors()
func (*GenericController) SetBeatMap ¶
func (controller *GenericController) SetBeatMap(beatMap *beatmap.BeatMap)
func (*GenericController) Update ¶
func (controller *GenericController) Update(time float64, delta float64)
type PlayerController ¶
type PlayerController struct {
// contains filtered or unexported fields
}
func (*PlayerController) GetCursors ¶
func (controller *PlayerController) GetCursors() []*graphics.Cursor
func (*PlayerController) GetRuleset ¶
func (controller *PlayerController) GetRuleset() *osu.OsuRuleSet
func (*PlayerController) InitCursors ¶
func (controller *PlayerController) InitCursors()
func (*PlayerController) KeyEvent ¶
func (controller *PlayerController) KeyEvent(w *glfw.Window, key glfw.Key, scancode int, action glfw.Action, _ glfw.ModifierKey)
func (*PlayerController) SetBeatMap ¶
func (controller *PlayerController) SetBeatMap(beatMap *beatmap.BeatMap)
func (*PlayerController) Update ¶
func (controller *PlayerController) Update(time float64, delta float64)
type ReplayController ¶
type ReplayController struct {
// contains filtered or unexported fields
}
func (*ReplayController) GetBeatMap ¶
func (controller *ReplayController) GetBeatMap() *beatmap.BeatMap
func (*ReplayController) GetClick ¶
func (controller *ReplayController) GetClick(player, key int) bool
func (*ReplayController) GetCursors ¶
func (controller *ReplayController) GetCursors() []*graphics.Cursor
func (*ReplayController) GetReplays ¶
func (controller *ReplayController) GetReplays() []RpData
func (*ReplayController) GetRuleset ¶
func (controller *ReplayController) GetRuleset() *osu.OsuRuleSet
func (*ReplayController) InitCursors ¶
func (controller *ReplayController) InitCursors()
func (*ReplayController) SetBeatMap ¶
func (controller *ReplayController) SetBeatMap(beatMap *beatmap.BeatMap)
func (*ReplayController) Update ¶
func (controller *ReplayController) Update(time float64, delta float64)
Click to show internal directories.
Click to hide internal directories.