player can now choose between different shields and weapons. added consumable items (healing potion)
This commit is contained in:
@@ -11,9 +11,13 @@ public class SwordNormalObj extends Entity {
|
||||
|
||||
name = "Normal Sword";
|
||||
description = "[" + name + "]\nAn old sword.";
|
||||
type = EntityType.ITEM;
|
||||
type = EntityType.WEAPON;
|
||||
weaponType = EntityType.WeaponType.SWORD;
|
||||
down1 = initEntitySprites("objects/sword_normal");
|
||||
|
||||
attackValue = 1;
|
||||
attackArea.width = 36;
|
||||
attackArea.height = 36;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user