예제 #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);
     }
 }