public FuenteManager(Game game) : base(game) { // TODO: Construct any child components here estado = Game1.estados.juego; posicionTiempo = new Vector2(10, 10); }
public FuenteManager(Game game) : base(game) { // TODO: Construct any child components here estado = Game1.estados.juego; posicionTiempo = new Vector2(10,10); }
public ModelManager(Game game, sexo sex) : base(game) { // TODO: Construct any child components here genero = sex; estado = Game1.estados.juego; }
public FuenteManager(Game game, List<BasicModel> modelos, int screenHeight, int screenWidht) : base(game) { // TODO: Construct any child components here this.modelos = modelos; this.screenHeight = screenHeight; this.screenWidth = screenWidht; estado = Game1.estados.juego; }
public ModelManager(Game game, sexo sex, int screenHeight, int screenWidth) : base(game) { // TODO: Construct any child components here this.screenHeight = screenHeight; this.screenWidth = screenWidth; genero = sex; estado = Game1.estados.juego; }
public FuenteManager(Game game, List <BasicModel> modelos, int screenHeight, int screenWidht) : base(game) { // TODO: Construct any child components here this.modelos = modelos; this.screenHeight = screenHeight; this.screenWidth = screenWidht; estado = Game1.estados.juego; }
public BotonManager(Game game, List<BasicModel> modelos, int screenHeight, int screenWidth) : base(game) { // TODO: Construct any child components here this.modelos = modelos; timeSinceLastClick = 0; estado = Game1.estados.juego; this.screenHeight = screenHeight; this.screenWidht = screenWidth; fuenteManager = new FuenteManager(Game, modelos, screenHeight, screenWidht); Game.Components.Add(fuenteManager); }
public BotonManager(Game game, List <BasicModel> modelos, int screenHeight, int screenWidth) : base(game) { // TODO: Construct any child components here this.modelos = modelos; timeSinceLastClick = 0; estado = Game1.estados.juego; this.screenHeight = screenHeight; this.screenWidht = screenWidth; fuenteManager = new FuenteManager(Game, modelos, screenHeight, screenWidht); Game.Components.Add(fuenteManager); }
Boolean todosAcomodados() { foreach (BasicModel model in modelos) { if (!model.acomodado) { return(false); } } estado = Game1.estados.fin; fuenteManager.estado = Game1.estados.fin; return(true); }
Boolean todosAcomodados() { foreach (BasicModel model in modelos) { if (!model.acomodado) return false; } estado = Game1.estados.fin; fuenteManager.estado = Game1.estados.fin; return true; }