Documentation ¶
Index ¶
- Variables
- func BeginCursorRender()
- func EndCursorRender()
- func LoadTextures()
- func LoadWinterTextures()
- type Cursor
- func (cursor *Cursor) Draw(scale float64, batch *batch.QuadBatch, color color2.Color)
- func (cursor *Cursor) DrawM(scale float64, batch *batch.QuadBatch, color color2.Color, ...)
- func (cursor *Cursor) SetPos(pt vector.Vector2f)
- func (cursor *Cursor) SetScreenPos(pt vector.Vector2f)
- func (cursor *Cursor) Update(delta float64)
- func (cursor *Cursor) UpdateRenderer()
Constants ¶
This section is empty.
Variables ¶
View Source
var Atlas *texture.TextureAtlas
View Source
var Camera *camera.Camera
View Source
var Cross *texture.TextureRegion
View Source
var CursorTex *texture.TextureRegion
View Source
var CursorTop *texture.TextureRegion
View Source
var CursorTrail *texture.TextureSingle
View Source
var Hit100 *texture.TextureRegion
View Source
var Hit50 *texture.TextureRegion
View Source
var Pixel *texture.TextureSingle
View Source
var Snow []*texture.TextureRegion
View Source
var Snowflakes []*texture.TextureRegion
View Source
var Triangle *texture.TextureRegion
View Source
var TriangleShadowed *texture.TextureRegion
View Source
var TriangleSmall *texture.TextureRegion
Functions ¶
func BeginCursorRender ¶
func BeginCursorRender()
func EndCursorRender ¶
func EndCursorRender()
func LoadTextures ¶
func LoadTextures()
func LoadWinterTextures ¶
func LoadWinterTextures()
Types ¶
type Cursor ¶
type Cursor struct {
LeftButton, RightButton bool
LeftKey, RightKey bool
LeftMouse, RightMouse bool
IsReplayFrame bool // TODO: temporary hacky solution for spinners
IsPlayer bool
IsAutoplay bool
IsReplay bool
OldSpinnerScoring bool
LastFrameTime int64 //
CurrentFrameTime int64 //
RawPosition vector.Vector2f
InvertDisplay bool
Position vector.Vector2f
Name string
ScoreID int64
ScoreTime time.Time
SmokeKey bool
// contains filtered or unexported fields
}
func (*Cursor) SetScreenPos ¶
func (*Cursor) UpdateRenderer ¶
func (cursor *Cursor) UpdateRenderer()
Click to show internal directories.
Click to hide internal directories.