spawn area nodes improvements

This commit is contained in:
2025-07-22 13:47:00 +02:00
parent 7c12f31ed9
commit 987ee5c2d3
4 changed files with 36 additions and 21 deletions

View File

@@ -24,7 +24,6 @@ pub const SpawnArea = struct {
return new_spawn;
}
// todo if window size changes this needs to be recalculated
pub fn setLocation(self: *SpawnArea) void {
self.location = switch (self.area) {
.top_left => rl.Vector2{ .x = 0, .y = 0 },