1 /* 2 * This file is part of EasyRPG Player. 3 * 4 * EasyRPG Player is free software: you can redistribute it and/or modify 5 * it under the terms of the GNU General Public License as published by 6 * the Free Software Foundation, either version 3 of the License, or 7 * (at your option) any later version. 8 * 9 * EasyRPG Player is distributed in the hope that it will be useful, 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 * GNU General Public License for more details. 13 * 14 * You should have received a copy of the GNU General Public License 15 * along with EasyRPG Player. If not, see <http://www.gnu.org/licenses/>. 16 */ 17 18 #ifndef EP_SPRITESET_BATTLE_H 19 #define EP_SPRITESET_BATTLE_H 20 21 // Headers 22 #include "background.h" 23 #include "screen.h" 24 #include "sprite_battler.h" 25 #include "sprite_character.h" 26 #include "sprite_timer.h" 27 28 class Game_Battler; 29 /** 30 * Spriteset_Battle class. 31 */ 32 class Spriteset_Battle { 33 public: 34 explicit Spriteset_Battle(std::string background, int terrain_id); 35 36 void Update(); 37 38 protected: 39 std::unique_ptr<Background> background; 40 std::vector<Sprite_Battler*> sprites; 41 std::string background_name; 42 std::unique_ptr<Screen> screen; 43 44 std::unique_ptr<Sprite_Timer> timer1; 45 std::unique_ptr<Sprite_Timer> timer2; 46 }; 47 48 #endif 49