public InfoBox(GameState state)
{
fullHearts = 5;
totalHearts = 5;
fullWater = 5;
totalWater = 5;
box = state.getContentManager().Load<Texture2D>("Textures/infobox");
heartEmpty = state.getContentManager().Load<Texture2D>("Textures/heart-empty");
heartFull = state.getContentManager().Load<Texture2D>("Textures/heart-full");
waterEmpty = state.getContentManager().Load<Texture2D>("Textures/water-empty");
waterFull = state.getContentManager().Load<Texture2D>("Textures/water-full");
billboardEffect = state.getContentManager().Load<Effect>("EffectFiles/infobox");
vertexDeclaration = new VertexDeclaration(state.getGraphics(), InfoBoxVertex.VertexElements);
pointList = new InfoBoxVertex[4];
pointList[0] = new InfoBoxVertex(new Vector3(), new Vector3(), new Vector2(1, 1));
pointList[1] = new InfoBoxVertex(new Vector3(), new Vector3(), new Vector2(1, 0));
pointList[2] = new InfoBoxVertex(new Vector3(), new Vector3(), new Vector2(0, 1));
pointList[3] = new InfoBoxVertex(new Vector3(), new Vector3(), new Vector2(0, 0));
indices = new short[6];
indices[0] = 0;
indices[1] = 1;
indices[2] = 2;
indices[3] = 1;
indices[4] = 3;
indices[5] = 2;
}