1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- /*
- *
- * This file is part of Luces de 1984 SDL version (L1-sdl).
- * Copyright (C) <2017> <alkeon> [alkeon@autistici.org]
-
- * L1-sdl is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * L1-sdl is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with l1-sdl. If not, see <http://www.gnu.org/licenses/>.
- *
- */
- #ifndef PERSONAJE
- #define PERSONAJE
- #include <string>
- class Personaje{
- public:
- Personaje(int primer_argumento,int segundo_argumento,int tercer_argumento,int cuarto_argumento,int quinto_argumento);
- ~Personaje();
- std::string funcion_guardada;
- int vida;
- int isBot;
- int ataque;
- int botiquin;
- int ganzua;
- int balas;
- int balas_dano;
- int identificacion;
- int psicosis;
- int soledad;
- int esperpento;
- int hola_dave;
- int bug;
- int pistola;
- std::string nombre;
- void color_terminal(int color);
- void acierto(Personaje& agredido, Personaje& v);
- void fallo(Personaje& v);
- void disparo_acertado(Personaje& agredido);
- void pegar(Personaje& agredido);
- void disparas(Personaje& agredido, Personaje& v);
- void curar(Personaje& v);
- };
- #endif
|