public override void Draw(GameTime gameTime) { GestionSprite.Begin(); AfficherRessourceBois("Bois: " + NbBois.ToString()); AfficherRessourceOr("Or: " + NbOr.ToString()); AfficherRessourcePoints("Points: " + NbPts.ToString()); GestionSprite.End(); Game.GraphicsDevice.BlendState = BlendState.Opaque; Game.GraphicsDevice.DepthStencilState = DepthStencilState.Default; Game.GraphicsDevice.SamplerStates[0] = SamplerState.LinearWrap; }
public void LosePoint() { NbPts--; UIPlayerManager.AnimPts(NbPts.ToString(), true); }
public void AddPoint() { NbPts++; UIPlayerManager.AnimPts(NbPts.ToString(), false); }