void Update() { if (stat.ArmorEquip == true) { txt.text = "Armor: defend +50"; } if (stat.SwordEquip == true) { txt.text = "Sword: damage +100"; } if (stat.BowEquip == true) { txt.text = "Bow: damage +50"; } }
public void Update(GameTime gameTime) { ItemState.Update(gameTime); }