Пример #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);
     }
 }
Пример #2
0
 public void Update(TickTime tickTime)
 {
 }
Пример #3
0
 public void Update(TickTime tickTime)
 {
     foreach (var item in ObjectFactory.GameObjects)
     {
         item.Update(tickTime);
     }
 }