#ifndef OBJ_HUNTER_H_
#define OBJ_HUNTER_H_

#include "main.h"

/* private structure for object OBJID_HUNTER */
struct sobj_hunter {
  struct VG_RectCent rectc;        /* rectangle-position */
  int htype;                       /* hunter-type: 1 to 3 */
  int st_number;                   /* status-number */
  VG_BOOL show_attack;             /* whether attacking */

  struct {
    char n[32];
    int maxmove, imove;
    const char **nmove;
  } nodes;

  enum { SOBJ_HUNTER_APPEAR = 0,
         SOBJ_HUNTER_STAND,
         SOBJ_HUNTER_GO,
         SOBJ_HUNTER_DIE
       } status;
  enum { SOBJ_HUNTER_MOV_RIGHT = 0,
         SOBJ_HUNTER_MOV_LEFT
       } moving;

  /* images and sprites */
  struct {
    struct VG_Sprite *appear;  /* sprite when appearing */
    struct VG_Image *stand;    /* image when standing */
    struct VG_Sprite *go;      /* sprite when going */
    struct VG_Image *attack;   /* image when attacking */
    struct VG_Sprite *die;     /* sprite when dying */
  } images;
};

#endif /* OBJ_HUNTER_H_ */
