public int height;
public Asset(int code, String name, String spritePath, boolean canSpray, int maximum) {
this.code = code;
this.name = name;
sprite = new ADXSprite(spritePath);
width = sprite.getWidth() / gridXSize;
height = sprite.getHeight() / gridYSize;
this.canSpray = canSpray;
this.maximum = maximum;
}