Better naming. opponent > enemy

This commit is contained in:
2026-09-11 07:51:18 +02:00
parent 75ce3e04a4
commit 115b42f00d
3 changed files with 50 additions and 18 deletions
+4 -2
View File
@@ -9,7 +9,7 @@ import rl "vendor:raylib"
Entity_Type :: enum {
Player,
Enemy,
Opponent,
Ball,
}
@@ -29,8 +29,10 @@ Entity :: struct {
speed: f32,
// 2D momentum & direction (ball / physics)
vel: rl.Vector2,
target_y: f32,
reaction_timer: f32
}
// ------------------------------------------------------------------------------
// TODO: Entity Dispatchers
// @todo: entity dispatchers
// ------------------------------------------------------------------------------