public void IniGame(ApolloSettings settings, FightStyle fightStyle = FightStyle.Balanced) { //Logger.Debug("Set game beginning = true"); GameStateHandling.GameBeginning = true; Settings = settings; PlayerCharacterHandling.Reset(); EnemyCharacterPositionHandling.SetPositions(); Logger.Debug("IniGame"); //EnemyHandling.CreateEnemies(); }
public bool IsAllowed(FightStyle flag) { return ((m_Mobile.FightStyle & flag) == flag); }
public static void SetPlayerFightStyleForPlayer(BasePlayer player, BasePlayer styleplayer, FightStyle style) { if (player == null) { throw new ArgumentNullException(nameof(player)); } if (styleplayer == null) { throw new ArgumentNullException(nameof(styleplayer)); } Internal.SetPlayerFightStyleForPlayer(player.Id, styleplayer.Id, (int)style); }