AcademyRPG.Rock.Rock C# (CSharp) Метод

Rock() публичный Метод

public Rock ( int hitPoints, Point position ) : System
hitPoints int
position Point
Результат System
        public Rock(int hitPoints, Point position)
            : base(position)
        {
            this.HitPoints = hitPoints;
            this.Type = ResourceType.Stone;
            this.Quantity = this.HitPoints / 2;
        }
Rock