Ejemplo n.º 1
0
 protected GameObject(double mass, double angularMass, Geometry relativeGeometry, ReferenceArea referenceArea)
 {
     Mass             = mass;
     AngularMass      = angularMass;
     ReferenceArea    = referenceArea;
     RelativeGeometry = relativeGeometry;
 }
Ejemplo n.º 2
0
        protected Plane(double mass, double angularMass, Geometry relativeGeometry, ReferenceArea referenceArea, double maxHealth)
            : base(mass, angularMass, relativeGeometry, referenceArea)
        {
            m_allEquipment = new Dictionary <PlaneEquipmentRelativeInfo, PlaneEquipment>();

            MaximalHealth = maxHealth;
            Health        = MaximalHealth / 2.0;
        }