spawn area nodes improvements
This commit is contained in:
@@ -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 },
|
||||
|
Reference in New Issue
Block a user