lowkey im high rn
This commit is contained in:
+8
-1
@@ -2,6 +2,13 @@ package shoal
|
||||
|
||||
import rl "vendor:raylib"
|
||||
|
||||
WindowComponent :: struct {
|
||||
width: i32,
|
||||
height: i32,
|
||||
title: string,
|
||||
}
|
||||
Window: Storage(WindowComponent)
|
||||
|
||||
SpriteComponent :: struct {
|
||||
texture: rl.Texture2D,
|
||||
}
|
||||
@@ -9,6 +16,6 @@ Sprite: Storage(SpriteComponent)
|
||||
|
||||
TransformComponent :: struct {
|
||||
translation: rl.Vector2,
|
||||
rotation: int,
|
||||
rotation: f32,
|
||||
}
|
||||
Transform: Storage(TransformComponent)
|
||||
|
||||
Reference in New Issue
Block a user