bridge setup as trait; wired to RA & CNC

This commit is contained in:
Chris Forbes
2010-02-09 10:38:09 +13:00
parent 671c1707e7
commit 758af41dc1
6 changed files with 17 additions and 9 deletions

View File

@@ -77,9 +77,11 @@ namespace OpenRa
Queries = new AllQueries( this );
Timer.Time( "queries: {0}" );
Bridges.MakeBridges(this);
foreach (var wlh in WorldActor.traits.WithInterface<ILoadWorldHook>())
wlh.WorldLoaded(this);
PathFinder = new PathFinder(this);
Timer.Time( "bridge, pathing: {0}" );
Timer.Time( "hooks, pathing: {0}" );
Minimap = new Minimap(this, Game.renderer);
Timer.Time( "minimap: {0}" );