Esempio n. 1
0
 public void Update(TickTime tickTime)
 {
     if (Parent != null)
     {
         //Velocity = Velocity + (Acceleration * tickTime.GameTimeDelta.TotalSeconds);
         this.Rotation = this._rotation * (this.RotationalVelocity * tickTime.GameTimeDelta.TotalSeconds);
         this._position = this._position + (this.Velocity * tickTime.GameTimeDelta.TotalSeconds);
     }
 }
Esempio n. 2
0
 public void Update(TickTime tickTime)
 {
 }
Esempio n. 3
0
 public void Update(TickTime tickTime)
 {
     foreach (var item in ObjectFactory.GameObjects)
     {
         item.Update(tickTime);
     }
 }