22 #ifndef BLADERUNNER_ITEM_H 23 #define BLADERUNNER_ITEM_H 25 #include "bladerunner/boundingbox.h" 26 #include "bladerunner/vector.h" 28 #include "common/rect.h" 32 class BladeRunnerEngine;
34 class SaveFileReadStream;
35 class SaveFileWriteStream;
60 bool _isPoliceMazeEnemy;
65 void getXYZ(
float *x,
float *y,
float *z)
const;
67 void getWidthHeight(
int *width,
int *height)
const;
68 void getAnimationId(
int *animationId)
const;
70 const BoundingBox &getBoundingBox() {
return _boundingBox; }
71 const Common::Rect &getScreenRectangle() {
return _screenRectangle; }
73 int getFacing()
const {
return _facing; }
74 void setFacing(
int facing);
76 bool isTarget()
const {
return _isTarget; }
77 void setIsTarget(
bool val) { _isTarget = val; }
79 bool isSpinning()
const {
return _isSpinning; }
82 bool isVisible()
const {
return _isVisible; }
83 void setVisible(
bool val) { _isVisible = val; }
85 bool isPoliceMazeEnemy()
const {
return _isPoliceMazeEnemy; }
86 void setPoliceMazeEnemy(
bool val) { _isPoliceMazeEnemy = val; }
90 void setup(
int itemId,
int setId,
int animationId,
Vector3 position,
int facing,
int height,
int width,
bool isTargetFlag,
bool isVisibleFlag,
bool isPoliceMazeEnemyFlag);
92 bool isUnderMouse(
int mouseX,
int mouseY)
const;
Definition: savefile.h:88
Definition: savefile.h:113
Definition: boundingbox.h:31
Definition: bladerunner.h:113