protected Vector3 angularVelocity; //RADIANS! //TODO shorter name. public DynamicObject(StaticObject gameWorld) : base(gameWorld) { }
public virtual void RemoveMe(StaticObject obj) { allSimulationObjects.Remove(obj); }
protected Vector3 rotation; //RADIANS! public StaticObject(StaticObject gameWorld) { //UID = gameWorld.GetUID() // Register to SIM }
public virtual void Add(StaticObject obj) { //checks? allSimulationObjects.Add(obj); }
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; }