Esempio n. 1
0
 public JobPreviewView(GameScreen screen, Player player)
     : base(screen)
 {
     this.player = player;
     this.job = player.Job;
     Position = new Vector2(15, 57);
     LoadContent();
 }
Esempio n. 2
0
        public JobTreeItemView(GameScreen screen, Job job, int row, int col)
            : base(screen)
        {
            this.job = job;
            this.row = row;
            this.col = col;
            Position = new Vector2(140 + col * 90, 57 + row * 20);
            LoadContent();

            selected = false;
            active = false;
        }
Esempio n. 3
0
 public JobTreeItemView ItemView(Job job)
 {
     return itemsForJob[job];
 }
Esempio n. 4
0
 public int Exp(Job job)
 {
     if (expForJob.ContainsKey(job))
         return expForJob[job];
     return 0;
 }
Esempio n. 5
0
 public Player(string name, Sex sex, Job job)
     : base(sex, job)
 {
     this.name = name;
     expForJob = new Dictionary<Job, int>();
 }
Esempio n. 6
0
 private void AddJob(Job job)
 {
     jobsForName.Add(job.Name, job);
 }
Esempio n. 7
0
 public Enemy(Sex sex, Job job)
     : base(sex, job)
 {
 }
Esempio n. 8
0
 public Enemy(Job job)
     : base(Sex.Male, job)
 {
 }
Esempio n. 9
0
 public Character(Sex sex, Job job)
 {
     this.job = job;
     this.sex = sex;
     ResetStatus();
 }