protected override void LoadContent() { TextureBank.LoadTextures(Content); SoundBank.LoadSound(Content); ValueBank.Values(); gameManager = new GameManager(GraphicsDevice, graphics, this); spriteBatch = new SpriteBatch(GraphicsDevice); }
public override void LoadContent() { this.label = "Network Map : World Wide Web"; //this.nodeEffect = new ConnectedNodeEffect(this.userScreen); //this.adminNodeEffect = new ConnectedNodeEffect(this.userScreen); this.circle = TextureBank.load("Circle", this.userScreen.content); this.nodeCircle = TextureBank.load("NodeCircle", this.userScreen.content); this.adminNodeCircle = TextureBank.load("AdminNodeCircle", this.userScreen.content); this.homeNodeCircle = TextureBank.load("HomeNodeCircle", this.userScreen.content); this.targetNodeCircle = TextureBank.load("TargetNodeCircle", this.userScreen.content); this.assetServerNodeOverlay = TextureBank.load("AssetServerNodeOverlay", this.userScreen.content); this.circleOutline = TextureBank.load("CircleOutline", this.userScreen.content); this.adminCircle = TextureBank.load("AdminCircle", this.userScreen.content); this.nodeGlow = TextureBank.load("RadialGradient", this.userScreen.content); this.circleOrigin = new Vector2((float)(this.circleOutline.Width / 2), (float)(this.circleOutline.Height / 2)); }