예제 #1
0
파일: Player.cs 프로젝트: mdrabicki/Macki2
 public Player(Form form, Point point)
 {
     healthPoints     = 100;
     attackDamage     = 10;
     defense          = 1;
     unitPresentation = new UnitPresentation(point, UnitType.PLAYER, form);
 }
예제 #2
0
        public Skeleton(Form form, System.Drawing.Point possition, int level = 1)
        {
            healthPoints = 100;
            attackDamage = 10;
            defense      = 1;
            this.level   = level;

            unitPresentation = new UnitPresentation(possition, UnitType.SKELETON, form);
        }