public FInventory(FActor _player) { player = _player; bag = new FItem[16]; belt = new FItem[12]; current_set = 0; bag_item_selected = 0; }
protected override void LoadContent() { sprites = new LinkedList<FTexture2D>(); spriteBatch = new SpriteBatch(GraphicsDevice); game_camera = new FCamera(spriteBatch, 0, 0, graphics.GraphicsDevice.Viewport.Width, graphics.GraphicsDevice.Viewport.Height/12*9, 16, 9); player_one = new FActor(new Vector3(1, 1, 0)); player_one_inventory = new FInventory(player_one); createTestBits(); }