public void LoadContent(ContentManager Content) { TexRight = Content.Load <Texture2D>("Images/Game/Player/BaseRight"); TexLeft = Content.Load <Texture2D>("Images/Game/Player/BaseLeft"); Tex = TexRight; Rect = new Rectangle((int)Pos.X, (int)Pos.Y, (int)Tex.Width, (int)Tex.Height); RectDet = new Rectangle((int)Pos.X, (int)Pos.Y, (int)Tex.Width, (int)Tex.Height + 1); InvBar.LoadContent(Content); InvWindow.LoadContent(Content); }