Beispiel #1
0
 void addGridIfNeeded(Entity e, int grid)
 {
     if (grid > 0) {
         e.AddGridField(0.0f, 1.0f, GridFieldState.INACTIVE, grid, -1, -1);
     }
 }