Update Osztály diagram: update WorldNavigation authored by Sárközi Gergely János's avatar Sárközi Gergely János
......@@ -65,8 +65,11 @@ GameWorld o-- IGameWorldConfig
class WorldNavigation{
- _grid: TileObject[,]
+ IsPositionReachable(from: Vector2, to: Vector2): bool
+ TryGetPathDeltas(Vector2, Vector2, collider: float): IEnumerable<Vector2>
+ IsPositionReachable(from: TilePosition, to: TilePosition, blocked: ISet<TilePosition>): bool
+ IsPositionReachable(from: TilePosition, to: TilePosition): bool
+ GetReachablePositionSubset(from: TilePosition, to: ISet<TilePosition>, blocked: ISet<TilePosition>): ISet<TilePosition>
+ GetReachablePositionSubset(from: TilePosition, to: ISet<TilePosition>): ISet<TilePosition>
+ TryGetPathDeltas(from: Vector2, to: Vector2, collider: float): List<Vector2>
}
GameWorld o-- WorldNavigation
Unit --> WorldNavigation
......
......