Increase player equipment size to 6x6

This commit is contained in:
2022-08-31 01:05:56 +02:00
parent 9ff0d6c99d
commit 92c2f3347a
3 changed files with 23 additions and 2 deletions

View File

@@ -8,7 +8,8 @@ import lombok.NonNull;
import org.joml.Vector2i;
public class Player extends Creature {
private final Item[] equipment = new Item[4 * 4];
public static final int EQUIPMENT_SIZE = 6 * 6;
private final Item[] equipment = new Item[EQUIPMENT_SIZE];
private int interactionCooldown = 0;
public Player(@NonNull Character entity) {