public override void LoadContent() { _renderer = new TileMapRenderer(this, GameMap); base.LoadContent(); }
private void RecievedMap(SendMapPacket obj) { // Setup Camera2D.SetWorldSize(obj.Map.Layers[0].Width, obj.Map.Layers[0].Height); _tileMapRenderer = new TileMapRenderer(this, obj.Map); GameGlobals.EntityID = obj.PlayerId; networkInput.Initialize(); }