Documentation ¶
Index ¶
- type KnockoutOverlay
- func (overlay *KnockoutOverlay) DisableAudioSubmission(_ bool)
- func (overlay *KnockoutOverlay) DrawBackground(batch *batch.QuadBatch, _ []color2.Color, alpha float64)
- func (overlay *KnockoutOverlay) DrawBeforeObjects(_ *batch.QuadBatch, _ []color2.Color, _ float64)
- func (overlay *KnockoutOverlay) DrawHUD(batch *batch.QuadBatch, colors []color2.Color, alpha float64)
- func (overlay *KnockoutOverlay) DrawNormal(batch *batch.QuadBatch, colors []color2.Color, alpha float64)
- func (overlay *KnockoutOverlay) IsBroken(cursor *graphics.Cursor) bool
- func (overlay *KnockoutOverlay) SetMusic(music bass.ITrack)
- func (overlay *KnockoutOverlay) ShouldDrawHUDBeforeCursor() bool
- func (overlay *KnockoutOverlay) Update(time float64)
- type Overlay
- type ScoreOverlay
- func (overlay *ScoreOverlay) DisableAudioSubmission(b bool)
- func (overlay *ScoreOverlay) DrawBackground(batch *batch.QuadBatch, c []color2.Color, alpha float64)
- func (overlay *ScoreOverlay) DrawBeforeObjects(batch *batch.QuadBatch, c []color2.Color, alpha float64)
- func (overlay *ScoreOverlay) DrawHUD(batch *batch.QuadBatch, _ []color2.Color, alpha float64)
- func (overlay *ScoreOverlay) DrawNormal(batch *batch.QuadBatch, _ []color2.Color, alpha float64)
- func (overlay *ScoreOverlay) Fail(fail bool)
- func (overlay *ScoreOverlay) IsBroken(_ *graphics.Cursor) bool
- func (overlay *ScoreOverlay) SetBeatmapEnd(end float64)
- func (overlay *ScoreOverlay) SetMusic(music bass.ITrack)
- func (overlay *ScoreOverlay) ShouldDrawHUDBeforeCursor() bool
- func (overlay *ScoreOverlay) Update(time float64)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KnockoutOverlay ¶
type KnockoutOverlay struct { Button *texture.TextureRegion ButtonClicked *texture.TextureRegion ScaledHeight float64 ScaledWidth float64 // contains filtered or unexported fields }
func NewKnockoutOverlay ¶
func NewKnockoutOverlay(replayController *dance.ReplayController) *KnockoutOverlay
func (*KnockoutOverlay) DisableAudioSubmission ¶
func (overlay *KnockoutOverlay) DisableAudioSubmission(_ bool)
func (*KnockoutOverlay) DrawBackground ¶
func (*KnockoutOverlay) DrawBeforeObjects ¶
func (*KnockoutOverlay) DrawNormal ¶
func (*KnockoutOverlay) IsBroken ¶
func (overlay *KnockoutOverlay) IsBroken(cursor *graphics.Cursor) bool
func (*KnockoutOverlay) SetMusic ¶
func (overlay *KnockoutOverlay) SetMusic(music bass.ITrack)
func (*KnockoutOverlay) ShouldDrawHUDBeforeCursor ¶
func (overlay *KnockoutOverlay) ShouldDrawHUDBeforeCursor() bool
func (*KnockoutOverlay) Update ¶
func (overlay *KnockoutOverlay) Update(time float64)
type Overlay ¶
type Overlay interface { Update(float64) SetMusic(bass.ITrack) DrawBackground(batch *batch.QuadBatch, colors []color2.Color, alpha float64) DrawBeforeObjects(batch *batch.QuadBatch, colors []color2.Color, alpha float64) DrawNormal(batch *batch.QuadBatch, colors []color2.Color, alpha float64) DrawHUD(batch *batch.QuadBatch, colors []color2.Color, alpha float64) IsBroken(cursor *graphics.Cursor) bool DisableAudioSubmission(b bool) ShouldDrawHUDBeforeCursor() bool }
type ScoreOverlay ¶
type ScoreOverlay struct { ScaledWidth float64 ScaledHeight float64 // contains filtered or unexported fields }
func NewScoreOverlay ¶
func NewScoreOverlay(ruleset *osu.OsuRuleSet, cursor *graphics.Cursor) *ScoreOverlay
func (*ScoreOverlay) DisableAudioSubmission ¶
func (overlay *ScoreOverlay) DisableAudioSubmission(b bool)
func (*ScoreOverlay) DrawBackground ¶
func (*ScoreOverlay) DrawBeforeObjects ¶
func (*ScoreOverlay) DrawNormal ¶
func (*ScoreOverlay) Fail ¶
func (overlay *ScoreOverlay) Fail(fail bool)
func (*ScoreOverlay) SetBeatmapEnd ¶
func (overlay *ScoreOverlay) SetBeatmapEnd(end float64)
func (*ScoreOverlay) SetMusic ¶
func (overlay *ScoreOverlay) SetMusic(music bass.ITrack)
func (*ScoreOverlay) ShouldDrawHUDBeforeCursor ¶
func (overlay *ScoreOverlay) ShouldDrawHUDBeforeCursor() bool
func (*ScoreOverlay) Update ¶
func (overlay *ScoreOverlay) Update(time float64)
Click to show internal directories.
Click to hide internal directories.