remove coins
This commit is contained in:
parent
7b99f3344c
commit
fad9f779b6
@ -96,7 +96,6 @@ const Entity = struct {
|
||||
player,
|
||||
box,
|
||||
wall,
|
||||
coin,
|
||||
box_hole,
|
||||
box_goal,
|
||||
};
|
||||
@ -565,8 +564,6 @@ fn loadLevel(
|
||||
color = BoxColor.string_mapping.get(props_color) orelse return error.UnknownBoxColor;
|
||||
} else if (std.mem.eql(u8, props_type, "player")) {
|
||||
entity_type = .player;
|
||||
} else if (std.mem.eql(u8, props_type, "coin")) {
|
||||
entity_type = .coin;
|
||||
} else if (std.mem.eql(u8, props_type, "box_hole")) {
|
||||
entity_type = .box_hole;
|
||||
color = BoxColor.string_mapping.get(props_color) orelse .none;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user