16#ifndef gfCParkStaffViewComponenthdr
17#define gfCParkStaffViewComponenthdr
77 std::vector<fsVec2d> mPath;
78 fsS32 mPathTargetCol = -999;
79 fsS32 mPathTargetRow = -999;
88 fsNTileMap::fsCView* viewGet()
const;
89 fsBool mapPointGet(fsNTileMap::fsCView*
const pView,
const fsStr& pObjectName, fsVec2d& pOut)
const;
91 SStaffView* viewFind(
const fsStr& pKey);
92 SStaffView& viewCreate(fsNTileMap::fsCView*
const pView,
const fsStr& pKey,
const fsStr& pType,
93 fsS32 pIndex,
const fsStr& pCharacterFolder,
const fsVec2d& pAt);
95 void animationSet(SStaffView& pView,
const fsStr& pAnimation);
96 fsBool moveToward(SStaffView& pView,
const fsVec2d& pTarget,
fsS32 pDeltaMs)
const;
102 fsBool moveTowardRouted(SStaffView& pStaff, fsNTileMap::fsCView*
const pTileView,
103 const gfCParkLevelComponent*
const pLevel,
104 const fsVec2d& pTarget,
fsS32 pDeltaMs)
const;
108 void staffTypeUpdate(fsNTileMap::fsCView*
const pView,
const gfCParkDaySim*
const pSim,
109 const fsStr& pType,
const fsStr& pCharacterFolder,
110 const std::vector<SStaffPost>& pPosts,
const fsVec2d& pOfficePos,
113 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:336
static fsIComponent *const create(fsCEntity *const pParent)
Definition gfCParkStaffViewComponent.cpp:487
friend class fsCComponentFactory
Definition gfCParkStaffViewComponent.h:38
void scrollShift(const fsVec2d &pDelta)
Definition gfCParkStaffViewComponent.cpp:470
gfCParkStaffViewComponent(fsCEntity *const pParent)
Definition gfCParkStaffViewComponent.cpp:492
static const fsCUniqueId mTypeId
Definition gfCParkStaffViewComponent.h:42
virtual ~gfCParkStaffViewComponent()
Definition gfCParkStaffViewComponent.cpp:499
bool fsBool
Definition fsBaseTypes.h:26
int fsS32
Definition fsBaseTypes.h:20