persona-3-dual
A DS demake of Persona 3
Loading...
Searching...
No Matches
PaulowniaMallView.hpp
Go to the documentation of this file.
1#pragma once
2#include <aegis/types.hpp>
3
5
7#include "maps/paulownia_mall.hpp"
8
10{
11 public:
13
14 protected:
16 {
17 return g_environmentDb[2];
18 }
19 ae::q20_12_t getCameraYOffset() const override
20 {
21 return ae::q20_12_t{0.3};
22 }
23 void setupMovement() override;
24 void setupMusic() override;
25 ViewState onTileCheck(TileType tile, u32 pressed) override;
26 void setupText() override;
27 void setupUI() override;
28 void setupCamera() override;
29
30 private:
31 // movement and camera
32 const Point2D<ae::q20_12_t> characterSize{ae::q20_12_t{0.1}, ae::q20_12_t{0.1}};
33 const ae::q20_12_t speed{0.03};
34
35 // character position
36 const Point2D<ae::q20_12_t> characterTranslate{ae::q20_12_t{0.0122}, ae::q20_12_t{2.3355}};
37 const ae::q20_12_t height{0.2};
38 const ae::q20_12_t characterFacingAngle{180};
39};
TileType
ViewState
Definition StateTypes.hpp:4
ViewState onTileCheck(TileType tile, u32 pressed) override
const ae::q20_12_t height
void setupText() override
ae::q20_12_t getCameraYOffset() const override
const Point2D< ae::q20_12_t > characterTranslate
void setupMusic() override
const ae::q20_12_t speed
void setupUI() override
void setupMovement() override
const EnvironmentDbEntry * getEnvironmentDbEntry() override
void setupCamera() override
const ae::q20_12_t characterFacingAngle
const Point2D< ae::q20_12_t > characterSize
const EnvironmentDbEntry * g_environmentDb[]