示例#1
0
 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);
        }