Exemple #1
0
        public MyPlayer()
        {
            // Initialize the job list
            jobList = new JobList();
            // Initialize the move list
            Moves = new RecruitMove[MaxInfo.MAX_PLAYER_MOVES];
            for (int i = 0; i < Moves.Length; i++)
            {
                Moves[i] = new RecruitMove();
            }
            // Initialize the player team
            Team = new Recruit[MaxInfo.MAX_ACTIVETEAM];
            Pets = new PlayerPet[MaxInfo.MAX_ACTIVETEAM];
            // Initialize the inventory and bank
            Inventory      = new Inventory(MaxInfo.MaxInv);
            FriendsList    = new List <Friend>();
            Mobility       = new bool[16];
            TimeMultiplier = 1000;
            VolatileStatus = new List <int>();
            MapGoals       = new List <MissionGoal>();
            ScreenActive   = true;

            TargetX = -1;
            TargetY = -1;
        }
Exemple #2
0
        public MyPlayer()
        {
            // Initialize the job list
            jobList = new JobList();
            // Initialize the move list
            Moves = new RecruitMove[MaxInfo.MAX_PLAYER_MOVES];
            for (int i = 0; i < Moves.Length; i++) {
                Moves[i] = new RecruitMove();
            }
            // Initialize the player team
            Team = new Recruit[MaxInfo.MAX_ACTIVETEAM];
            Pets = new PlayerPet[MaxInfo.MAX_ACTIVETEAM];
            // Initialize the inventory and bank
            Inventory = new Inventory(MaxInfo.MaxInv);
            FriendsList = new List<Friend>();
            Mobility = new bool[16];
            TimeMultiplier = 1000;
            VolatileStatus = new List<int>();
            MapGoals = new List<MissionGoal>();
            ScreenActive = true;

            TargetX = -1;
            TargetY = -1;
        }