16#ifndef gfCParkStaffViewComponenthdr
17#define gfCParkStaffViewComponenthdr
72 std::vector<fsVec2d> mPath;
73 fsS32 mPathTargetCol = -999;
74 fsS32 mPathTargetRow = -999;
83 fsNTileMap::fsCView* viewGet()
const;
84 fsBool mapPointGet(fsNTileMap::fsCView*
const pView,
const fsStr& pObjectName, fsVec2d& pOut)
const;
86 SStaffView* viewFind(
const fsStr& pKey);
87 SStaffView& viewCreate(fsNTileMap::fsCView*
const pView,
const fsStr& pKey,
const fsStr& pType,
88 fsS32 pIndex,
const fsStr& pCharacterFolder,
const fsVec2d& pAt);
90 void animationSet(SStaffView& pView,
const fsStr& pAnimation);
91 fsBool moveToward(SStaffView& pView,
const fsVec2d& pTarget,
fsS32 pDeltaMs)
const;
97 fsBool moveTowardRouted(SStaffView& pStaff, fsNTileMap::fsCView*
const pTileView,
98 const gfCParkLevelComponent*
const pLevel,
99 const fsVec2d& pTarget,
fsS32 pDeltaMs)
const;
103 void staffTypeUpdate(fsNTileMap::fsCView*
const pView,
const gfCParkDaySim*
const pSim,
104 const fsStr& pType,
const fsStr& pCharacterFolder,
105 const std::vector<SStaffPost>& pPosts,
const fsVec2d& pOfficePos,
108 std::vector<SStaffView> mViews;
Definition fsCEntity.h:39
Definition fsCUniqueId.h:21
fsIComponent(fsCEntity *pParent)
Definition fsIComponent.cpp:86
Definition gfCParkDaySim.h:25
Definition gfCParkLevelComponent.h:41
void updateDo(fsS32 pDeltaMs) override
Definition gfCParkStaffViewComponent.cpp:331
static fsIComponent *const create(fsCEntity *const pParent)
Definition gfCParkStaffViewComponent.cpp:456
friend class fsCComponentFactory
Definition gfCParkStaffViewComponent.h:38
gfCParkStaffViewComponent(fsCEntity *const pParent)
Definition gfCParkStaffViewComponent.cpp:461
static const fsCUniqueId mTypeId
Definition gfCParkStaffViewComponent.h:42
virtual ~gfCParkStaffViewComponent()
Definition gfCParkStaffViewComponent.cpp:468
bool fsBool
Definition fsBaseTypes.h:26
int fsS32
Definition fsBaseTypes.h:20