예제 #1
0
 public JobPreviewView(GameScreen screen, Player player)
     : base(screen)
 {
     this.player = player;
     this.job = player.Job;
     Position = new Vector2(15, 57);
     LoadContent();
 }
예제 #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;
        }
예제 #3
0
 public JobTreeItemView ItemView(Job job)
 {
     return itemsForJob[job];
 }
예제 #4
0
파일: Player.cs 프로젝트: wanpark/pre-rpg
 public int Exp(Job job)
 {
     if (expForJob.ContainsKey(job))
         return expForJob[job];
     return 0;
 }
예제 #5
0
파일: Player.cs 프로젝트: wanpark/pre-rpg
 public Player(string name, Sex sex, Job job)
     : base(sex, job)
 {
     this.name = name;
     expForJob = new Dictionary<Job, int>();
 }
예제 #6
0
 private void AddJob(Job job)
 {
     jobsForName.Add(job.Name, job);
 }
예제 #7
0
파일: Enemy.cs 프로젝트: wanpark/pre-rpg
 public Enemy(Sex sex, Job job)
     : base(sex, job)
 {
 }
예제 #8
0
파일: Enemy.cs 프로젝트: wanpark/pre-rpg
 public Enemy(Job job)
     : base(Sex.Male, job)
 {
 }
예제 #9
0
 public Character(Sex sex, Job job)
 {
     this.job = job;
     this.sex = sex;
     ResetStatus();
 }