Added a new field to ent struct.
This commit is contained in:
@@ -27,6 +27,7 @@ Entity :: struct {
|
||||
size: rl.Vector2,
|
||||
// Fixed input speed (paddles)
|
||||
speed: f32,
|
||||
max_speed: f32,
|
||||
// 2D momentum & direction (ball / physics)
|
||||
vel: rl.Vector2,
|
||||
target_y: f32,
|
||||
|
||||
Reference in New Issue
Block a user