Documentation ¶
Index ¶
- func ParseBeatMap(beatMap *BeatMap) error
- func ParseObjects(beatMap *BeatMap, diffCalcOnly, parseColors bool)
- func ParseTimingPointsAndPauses(beatMap *BeatMap)
- type BeatMap
- func (beatMap *BeatMap) CalculateStackLeniency(diff *difficulty.Difficulty)
- func (beatMap *BeatMap) Clear()
- func (beatMap *BeatMap) FinalizePoints()
- func (beatMap *BeatMap) GetAudioFile() (string, error)
- func (beatMap *BeatMap) GetObjectsCopy() []objects.IHitObject
- func (beatMap *BeatMap) GetRelatedFile(path string) (string, error)
- func (beatMap *BeatMap) LoadCustomSamples()
- func (beatMap *BeatMap) ParsePoint(point string)
- func (beatMap *BeatMap) Reset()
- func (beatMap *BeatMap) Update(time float64)
- func (beatMap *BeatMap) UpdatePlayStats()
- type Pause
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseBeatMap ¶
func ParseObjects ¶
func ParseTimingPointsAndPauses ¶
func ParseTimingPointsAndPauses(beatMap *BeatMap)
Types ¶
type BeatMap ¶
type BeatMap struct { Artist string ArtistUnicode string Name string NameUnicode string Difficulty string Creator string Source string Tags string Mode int64 SliderMultiplier float64 StackLeniency float64 Diff *difficulty.Difficulty Dir string File string Audio string Bg string MD5 string SetID int64 ID int64 LastModified, TimeAdded, PlayCount, LastPlayed, PreviewTime int64 Stars float64 StarsVersion int Length int Circles int Sliders int Spinners int MinBPM float64 MaxBPM float64 Timings *objects.Timings HitObjects []objects.IHitObject Pauses []*Pause Queue []objects.IHitObject Version int ARSpecified bool LocalOffset int // contains filtered or unexported fields }
func NewBeatMap ¶
func NewBeatMap() *BeatMap
func ParseBeatMapFile ¶
func (*BeatMap) CalculateStackLeniency ¶
func (beatMap *BeatMap) CalculateStackLeniency(diff *difficulty.Difficulty)
func (*BeatMap) FinalizePoints ¶
func (beatMap *BeatMap) FinalizePoints()
func (*BeatMap) GetAudioFile ¶
func (*BeatMap) GetObjectsCopy ¶
func (beatMap *BeatMap) GetObjectsCopy() []objects.IHitObject
func (*BeatMap) GetRelatedFile ¶
func (*BeatMap) LoadCustomSamples ¶
func (beatMap *BeatMap) LoadCustomSamples()
func (*BeatMap) ParsePoint ¶
func (*BeatMap) UpdatePlayStats ¶
func (beatMap *BeatMap) UpdatePlayStats()
Click to show internal directories.
Click to hide internal directories.