cursor component
This commit is contained in:
@@ -10,6 +10,11 @@ WindowComponent :: struct {
|
|||||||
}
|
}
|
||||||
Window: Storage(WindowComponent)
|
Window: Storage(WindowComponent)
|
||||||
|
|
||||||
|
CursorComponent :: struct {
|
||||||
|
position: rl.Vector2,
|
||||||
|
}
|
||||||
|
Cursor: Storage(CursorComponent)
|
||||||
|
|
||||||
SpriteComponent :: struct {
|
SpriteComponent :: struct {
|
||||||
texture: rl.Texture2D,
|
texture: rl.Texture2D,
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user