public void Draw(SpriteBatch spriteBatch) { if (currentState == SideDirection.STANDRIGHT) { fusilRight.Draw(spriteBatch); standRight.Draw(spriteBatch); } if (currentState == SideDirection.STANDLEFT) { fusilLeft.Draw(spriteBatch); standLeft.Draw(spriteBatch); } if (currentState == SideDirection.MOVERIGHT) { fusilRight.Draw(spriteBatch); moveRight.Draw(spriteBatch); } if (currentState == SideDirection.MOVELEFT) { fusilLeft.Draw(spriteBatch); moveLeft.Draw(spriteBatch); } for (int x = 0; x < arregloBalas.Count; x++) { ((Shot)arregloBalas[x]).Draw(spriteBatch); } flecha.Draw(spriteBatch); //abajo.Draw(spriteBatch); //medio.Draw(spriteBatch); }
public void Draw(SpriteBatch spriteBatch) { FondoMenu.Draw(spriteBatch); botonJugar.Draw(spriteBatch); botonSalir.Draw(spriteBatch); Cursor.Draw(spriteBatch); }
public void Draw(SpriteBatch spriteBatch) { background.Draw(spriteBatch); foreach (BasicGUIButton the_button in the_buttons) the_button.Draw(spriteBatch); foreach(Label the_label in the_labels) { the_label.Draw(spriteBatch); } }
public void Draw(SpriteBatch spriteBatch) { progressBar.Draw(spriteBatch); fillingBar.Draw(spriteBatch); timeBackground.Draw(spriteBatch); spriteBatch.Begin(); //spriteBatch.DrawString(font, text,pos , color); spriteBatch.DrawString(font, text, pos, color); spriteBatch.End(); }
public void Draw(SpriteBatch spriteBatch) { if (estado == Estate.NORMAL) { bullet.Draw(spriteBatch); } if (estado == Estate.EXPLOSION) { fire.Draw(spriteBatch); } }