public override void LoadContent() { base.LoadContent(); World.Gravity = new Vector2(0, -9.82f); _border = new Border(World, ScreenManager, Camera); _spiderweb = new Spiderweb(World, HiddenBody, Vector2.Zero, 0.5f, 5, 12); _spiderweb.LoadContent(ScreenManager.Content); }
public override void LoadContent() { base.LoadContent(); World.Gravity = new Vector2(0, 9.82f); _border = new Border(World, this, ScreenManager.GraphicsDevice.Viewport); _spiderweb = new Spiderweb(World, Vector2.Zero, ConvertUnits.ToSimUnits(12), 5, 12); _spiderweb.LoadContent(ScreenManager.Content); }
public override void LoadContent() { base.LoadContent(); World.Gravity = new Vector2(0, 9.82f); _border = new Border(World, ScreenManager, Camera); #if WINDOWS || XBOX _spiderweb = new Spiderweb(World, HiddenBody, Vector2.Zero, ConvertUnits.ToSimUnits(12), 5, 12); #elif WINDOWS_PHONE _spiderweb = new Spiderweb(World, HiddenBody, Vector2.Zero, ConvertUnits.ToSimUnits(8), 5, 12); #endif _spiderweb.LoadContent(ScreenManager.Content); }