protected Vector3 angularVelocity; //RADIANS! //TODO shorter name.

        public DynamicObject(StaticObject gameWorld) : base(gameWorld)
        {
        }
示例#2
0
 public virtual void RemoveMe(StaticObject obj)
 {
     allSimulationObjects.Remove(obj);
 }
        protected Vector3 rotation; //RADIANS!

        public StaticObject(StaticObject gameWorld)
        {
            //UID = gameWorld.GetUID()

            // Register to SIM
        }
示例#4
0
 public virtual void Add(StaticObject obj)
 {
     //checks?
     allSimulationObjects.Add(obj);
 }
示例#5
0
        public UnitBlueprint unitBlueprint; //refers to the type / blueprint this unit was made with.
        //public pathfinder thing
        //public AI thing


        public Unit(StaticObject gameWorld, UnitBlueprint unitBlueprint) : base(gameWorld)
        {
            this.unitBlueprint = unitBlueprint;
        }