public GameObject()
        {
            ObjectCenter = new Vector3();
            Speed = new Vector3();
            Acceleration = new Vector3();

            Rotation = new Vector3();
            RotationSpeed = new Vector3();
            RotationAceleration = new Vector3();

            Mass = 0;
            Hp = 0;

            MainHitBox = null;
            masterObject = null;
            slaveObjects = new List<GameObject>();
        }
        public override void OnHit(GameObject obj)
        {
            if (obj.GetType() == typeof(SimpleBulet))
            {
                if(obj.Hp > 0)
                {
                    var ite = obj as SimpleBulet;
                    ite.Hp = 0;
                    Hp = Hp - 1;
                }
            }
            if (obj.GetType() == typeof(SimpleShip))
            {
                if (obj.Hp > 0)
                {
                    var ite = obj as SimpleShip;
                    ite.Hp = 0;
                    Hp = 0;
                }
            }
            if(obj.GetType() == typeof(SimpleShield))
            {
                var ite = obj as SimpleShield;

            }
        }
 public void SetMasterObject(GameObject obj)
 {
     masterObject = obj;
 }
 public void AddSlaveObject(GameObject obj)
 {
     slaveObjects.Add(obj);
 }
 public abstract void OnHit(GameObject obj);