rename components because im fucking stupid
This commit is contained in:
+4
-4
@@ -2,13 +2,13 @@ package shoal
|
|||||||
|
|
||||||
import rl "vendor:raylib"
|
import rl "vendor:raylib"
|
||||||
|
|
||||||
Sprite :: struct {
|
SpriteComponent :: struct {
|
||||||
texture: rl.Texture2D,
|
texture: rl.Texture2D,
|
||||||
}
|
}
|
||||||
sprites: Storage(Sprite)
|
Sprite: Storage(SpriteComponent)
|
||||||
|
|
||||||
Transform :: struct {
|
TransformComponent :: struct {
|
||||||
translation: rl.Vector2,
|
translation: rl.Vector2,
|
||||||
rotation: int,
|
rotation: int,
|
||||||
}
|
}
|
||||||
transforms: Storage(Transform)
|
Transform: Storage(TransformComponent)
|
||||||
|
|||||||
Reference in New Issue
Block a user