persona-3-dual
A DS demake of Persona 3
Loading...
Searching...
No Matches
IwatodaiStreetsView.hpp
Go to the documentation of this file.
1#pragma once
3
5#include "maps/iwatodai_streets.hpp"
6
14
15#include <etl/vector.h>
16
18{
19 public:
21
23
24 protected:
26 {
27 return g_environmentDb[1];
28 }
29
30 void setupMovement() override;
31
32 void setupMusic() override;
33
34 ViewState onTileCheck(TileType tile, u32 pressed) override;
35
36 void setupCamera() override;
37
38 void setupText() override;
39
40 void setupUI() override;
41
42 // battle hook
43 void startBattle() override;
44
45 private:
46 // movement and camera
47 const Point2D<ae::q20_12_t> characterSize{ae::q20_12_t{0.1}, ae::q20_12_t{0.1}};
48 const ae::q20_12_t speed{0.03};
49
50 // character position
51 const Point2D<ae::q20_12_t> characterTranslate{ae::q20_12_t{0.6}, ae::q20_12_t{0.6}};
52 const ae::q20_12_t height{0.05};
53 const ae::q20_12_t characterFacingAngle{0};
54
55 // battle
56 etl::vector<CharacterProfile, 4> characterProfiles;
57 etl::vector<EnemyProfile, 8> enemyProfiles;
58
60};
BattleStartCondition
Describes how the Battle was started eg. PartyAdvantage if Player surprised the enemy.
TileType
ViewState
Definition StateTypes.hpp:4
const ae::q20_12_t speed
const Point2D< ae::q20_12_t > characterSize
const ae::q20_12_t characterFacingAngle
void setupMovement() override
const EnvironmentDbEntry * getEnvironmentDbEntry() override
const ae::q20_12_t height
etl::vector< CharacterProfile, 4 > characterProfiles
BattleStartCondition battleStartCondition
const Point2D< ae::q20_12_t > characterTranslate
etl::vector< EnemyProfile, 8 > enemyProfiles
ViewState onTileCheck(TileType tile, u32 pressed) override
const EnvironmentDbEntry * g_environmentDb[]