diff options
| author | Kyren223 <Kyren223@proton.me> | 2025-07-26 11:50:47 +0300 |
|---|---|---|
| committer | Kyren223 <Kyren223@proton.me> | 2025-07-26 11:50:47 +0300 |
| commit | c9b40270697655bb475935ee38fbc8a9a8f284ab (patch) | |
| tree | d42bb18f07fbcea468eef08df7b676339f6aaee7 /src/main.zig | |
| parent | c4b036533d65eb1c76c5b75e0364b816eac7f796 (diff) | |
Removed color
Diffstat (limited to 'src/main.zig')
| -rw-r--r-- | src/main.zig | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/main.zig b/src/main.zig index 8d211b9..b9dd009 100644 --- a/src/main.zig +++ b/src/main.zig @@ -218,7 +218,6 @@ const Cell = union(enum) { cpu: Cpu, ai, lane, - color: rl.Color, fn isLaneConnected(self: Cell) bool { return switch (self) { @@ -305,8 +304,6 @@ const Wave = struct { for (1..cells_width - 1) |x| { const isEven = (y + x) % 2 == 0; if (isEven) { - wave.map[y][x] = .{ .color = rl.Color.blue }; - } else { wave.map[y][x] = .socket; } } @@ -650,15 +647,6 @@ const ScreenBattle = struct { const texture = game.texture_map.get(.ai).?; rl.drawTexture(texture, @intCast(x * cell_size), @intCast(y * cell_size), rl.Color.white); }, - .color => |color| { - rl.drawRectangle( - @intCast(x * cell_size), - @intCast(y * cell_size), - cell_size, - cell_size, - color, - ); - }, } } }; |
