Documentation
¶
Index ¶
- Constants
- type Background
- func (bg *Background) Draw(time float64, batch *batch.QuadBatch, blurVal, bgAlpha float64, ...)
- func (bg *Background) DrawOverlay(time float64, batch *batch.QuadBatch, bgAlpha float64, camera mgl32.Mat4)
- func (bg *Background) GetStoryboard() *storyboard.Storyboard
- func (bg *Background) HasBackground() bool
- func (bg *Background) SetBeatmap(beatMap *beatmap.BeatMap, loadDefault, loadStoryboards bool)
- func (bg *Background) SetDefaultColor(col color2.Color)
- func (bg *Background) SetTrack(track bass.ITrack)
- func (bg *Background) Update(time float64, x, y float64)
- type BeatSynced
- type Boundaries
- type DanserCoin
- type Flashlight
- type NightcoreProcessor
Constants ¶
View Source
const DefaultFlashlightDuration = 800.0
View Source
const DefaultFlashlightSize = 168.0
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Background ¶
type Background struct {
// contains filtered or unexported fields
}
func NewBackground ¶
func NewBackground(loadDefault bool) *Background
func (*Background) DrawOverlay ¶
func (*Background) GetStoryboard ¶
func (bg *Background) GetStoryboard() *storyboard.Storyboard
func (*Background) HasBackground ¶
func (bg *Background) HasBackground() bool
func (*Background) SetBeatmap ¶
func (bg *Background) SetBeatmap(beatMap *beatmap.BeatMap, loadDefault, loadStoryboards bool)
func (*Background) SetDefaultColor ¶
func (bg *Background) SetDefaultColor(col color2.Color)
func (*Background) SetTrack ¶
func (bg *Background) SetTrack(track bass.ITrack)
func (*Background) Update ¶
func (bg *Background) Update(time float64, x, y float64)
type BeatSynced ¶
type BeatSynced struct { *sprite.Sprite Divisor float64 Beat float64 IsSynced bool Kiai bool // contains filtered or unexported fields }
func NewBeatSynced ¶
func NewBeatSynced() *BeatSynced
func (*BeatSynced) Update ¶
func (bs *BeatSynced) Update(time float64)
type Boundaries ¶
type Boundaries struct {
// contains filtered or unexported fields
}
func NewBoundaries ¶
func NewBoundaries() *Boundaries
type DanserCoin ¶
type DanserCoin struct { *BeatSynced // contains filtered or unexported fields }
func NewDanserCoin ¶
func NewDanserCoin() *DanserCoin
func NewDanserCoinSanta ¶
func NewDanserCoinSanta() *DanserCoin
func (*DanserCoin) DrawVisualiser ¶
func (coin *DanserCoin) DrawVisualiser(value bool)
func (*DanserCoin) SetMap ¶
func (coin *DanserCoin) SetMap(bMap *beatmap.BeatMap, track bass.ITrack)
func (*DanserCoin) Update ¶
func (coin *DanserCoin) Update(time float64)
type Flashlight ¶
type Flashlight struct {
// contains filtered or unexported fields
}
func NewFlashlight ¶
func NewFlashlight(beatMap *beatmap.BeatMap) *Flashlight
func (*Flashlight) Draw ¶
func (fl *Flashlight) Draw(matrix mgl32.Mat4)
func (*Flashlight) SetSliding ¶
func (fl *Flashlight) SetSliding(value bool)
func (*Flashlight) Update ¶
func (fl *Flashlight) Update(time float64)
func (*Flashlight) UpdateCombo ¶
func (fl *Flashlight) UpdateCombo(combo int64)
func (*Flashlight) UpdatePosition ¶
func (fl *Flashlight) UpdatePosition(cursorPosition vector.Vector2f)
type NightcoreProcessor ¶
type NightcoreProcessor struct { *BeatSynced // contains filtered or unexported fields }
func NewNightcoreProcessor ¶
func NewNightcoreProcessor() *NightcoreProcessor
func (*NightcoreProcessor) Update ¶
func (bs *NightcoreProcessor) Update(time float64)
Click to show internal directories.
Click to hide internal directories.