예제 #1
0
 private void AddEntity(float x, float y)
 {
     _entityService.AddEntity(new Entity()
     {
         X     = x,
         Y     = y,
         Mass  = PhysicsExtensions.GenerateMass(),
         Color = ColorExtensions.GenerateColor()
     });
 }