22#ifndef TWINE_PARSER_ENTITY_H
23#define TWINE_PARSER_ENTITY_H
25#include "common/array.h"
26#include "common/memstream.h"
27#include "common/stream.h"
28#include "twine/parser/body.h"
29#include "twine/parser/parser.h"
30#include "twine/shared.h"
42 AnimationTypes animation;
46 ActionType type = ActionType::ACTION_NOP;
48 uint8 lastAnimFrame = 0;
50 byte sampleVolume = 0;
52 int16 spriteIndex = 0;
53 uint8 targetActor = 0;
54 int16 sampleIndex = 0;
71 int16 sizeSuperHit = 0;
92 void reset()
override;
98 const EntityBody *getEntityBody(
const int index)
const;
100 int32 getAnimIndex(AnimationTypes animation)
const;
Associate 3d models from body hqr with animations from anim.hqr for the game characters.
Definition: entity.h:83
Axis aligned bounding box.
Definition: shared.h:193
int index
Definition: entity.h:35
int hqrBodyIndex
Definition: entity.h:37