示例#1
0
        public virtual void Copy(AGameObject other)
        {
            Id = other.Id;
            //State = other.State;
            //IsActive = other.IsActive;
            ObjectType = other.ObjectType;

            HealthAmount    = other.HealthAmount;
            Damage          = other.Damage;
            MaxHealthAmount = other.MaxHealthAmount;

            Coordinates = other.Coordinates;
            Radius      = other.Radius;
            RunVector   = other.RunVector;
            ShootVector = other.ShootVector;
            Speed       = other.Speed;

            Bounding = other.Bounding;
        }
示例#2
0
 public virtual IEnumerable <AGameEvent> OnDead(AGameObject obj, List <AGameObject> newObjects, long time)
 {
     return(new AGameEvent[] { });
 }