Definition at line 7 of file EntityGrid.cs.
◆ EntityGrid() [1/2]
Barotrauma.EntityGrid.EntityGrid |
( |
Submarine |
submarine, |
|
|
float |
cellSize |
|
) |
| |
◆ EntityGrid() [2/2]
Barotrauma.EntityGrid.EntityGrid |
( |
Rectangle |
worldRect, |
|
|
float |
cellSize |
|
) |
| |
◆ Clear()
void Barotrauma.EntityGrid.Clear |
( |
| ) |
|
◆ GetAllEntities()
IEnumerable<MapEntity> Barotrauma.EntityGrid.GetAllEntities |
( |
| ) |
|
◆ GetEntities()
List<MapEntity> Barotrauma.EntityGrid.GetEntities |
( |
Vector2 |
position | ) |
|
◆ GetIndices() [1/2]
Rectangle Barotrauma.EntityGrid.GetIndices |
( |
Rectangle |
rect | ) |
|
◆ GetIndices() [2/2]
Point Barotrauma.EntityGrid.GetIndices |
( |
Vector2 |
position | ) |
|
◆ InsertEntity()
void Barotrauma.EntityGrid.InsertEntity |
( |
MapEntity |
entity | ) |
|
◆ RemoveEntity()
void Barotrauma.EntityGrid.RemoveEntity |
( |
MapEntity |
entity | ) |
|
◆ Submarine
readonly Submarine Barotrauma.EntityGrid.Submarine |
◆ WorldRect
Rectangle Barotrauma.EntityGrid.WorldRect |
|
get |