Пример #1
0
 private void InitializeBug(Vector2 startPoint)
 {
     BugModel          = new BugModel(_game);
     BugModel.Front    = new Vector2(0, -1);
     BugModel.Mass     = .2f;
     BugModel.MaxSpeed = 4.5f;
     BugModel.MaxForce = .07f;
     BugModel.Position = startPoint;
     BugModel.Initialize();
 }
Пример #2
0
 private void InitializeBug(Vector2 startPoint)
 {
     BugModel = new BugModel(_game);
     BugModel.Front = new Vector2(0, -1);
     BugModel.Mass = .2f;
     BugModel.MaxSpeed = 4.5f;
     BugModel.MaxForce = .07f;
     BugModel.Position = startPoint;
     BugModel.Initialize();
 }