28 BattleSystem::getInstance().setMusicComponent(
musicCmpt);
30 ae::broadcastEvent(msg);
36 camConfig.initialAngle = ae::q20_12_t{1.5708 * 2};
40 camConfig.angleIncrement = ae::q20_12_t{0.05};
47 IWATODAI_STREETS_MAP_HEIGHT,
48 &iwatodai_streets_map[0][0],
System for managing battle logic & states.
Generic events used across multiple systems.
std::array< int, 2 > bgMain
MenuHUDScreen * menuHUDScreen
MusicComponent * musicCmpt
const EnvironmentDbEntry * dbEntry
MovementComponent * movement
Event::ConfigureCamera camConfig
uint16_t * textVideoBuffer
std::array< int, 3 > bgSub
const ae::q20_12_t tileSize
void setupPauseMenu()
Sets up the pause menu.
uint16_t * textVideoBufferSub
PauseMenu * pauseMenuCmpt
bool prevEnvironmentState
void setupMenuHUD(const std::string &location)
Sets up the menu HUD.
BattleMenu * battleMenuCmpt
PauseMenuScreen * pauseMenuScreen
const Point2D< ae::q20_12_t > characterSize
const ae::q20_12_t characterFacingAngle
void setupMovement() override
void setupMusic() override
const ae::q20_12_t height
etl::vector< CharacterProfile, 4 > characterProfiles
BattleStartCondition battleStartCondition
const Point2D< ae::q20_12_t > characterTranslate
void setupText() override
void setupCamera() override
void startBattle() override
etl::vector< EnemyProfile, 8 > enemyProfiles
ViewState onTileCheck(TileType tile, u32 pressed) override
static CharacterProfile player
static CharacterProfile junpei
static CharacterProfile yukari
static EnemyProfile cowardlyMaya
static EnemyProfile mercilessMaya
Event payload to start the BattleSystem.
A struct that holds initial config values for the MovementComponent.
A struct that holds initial config values for the TextComponent.