private void CreateRandomCharacter() { Builder.SetAgility(RandomInt()); Builder.SetHealth(RandomFloat()); IWeapon weapon = new SimpleWeapon(RandomFloat()); Builder.GiveWeapon(weapon); IsBuilding = false; }
private void EquipWeapon() { IWeapon weapon = new SimpleWeapon(WeaponConsts.DefaultWeaponPower); Fixture.EquipWeapon(weapon); }
private void CreateAndEquipWeapon(float power) { IWeapon weapon = new SimpleWeapon(power); Builder.GiveWeapon(weapon); }