#ifndef OBJ_EXIT_H_
#define OBJ_EXIT_H_

#include "main.h"

/* private structure for object OBJID_EXIT */
struct sobj_exit {
  struct VG_Rect rect;             /* rectangle-position */

  /* status */
  enum { SOBJ_EXIT_BEGIN_1 = 0,
         SOBJ_EXIT_BEGIN_2,
         SOBJ_EXIT_BEGIN_3,
         SOBJ_EXIT_CLOSED,
         SOBJ_EXIT_END_1,
         SOBJ_EXIT_END_2,
         SOBJ_EXIT_END_3,
         SOBJ_EXIT_OPENED
       } status;

  /* images and sprites */
  struct {
    struct VG_Image *imgp_closed;    /* image when closed */
    struct VG_Image *imgp_opened;    /* image when opened */
    struct VG_Sprite *sprite_begin;  /* sprite at begin */
    struct VG_Sprite *sprite_end;    /* sprite at end */
  } images;
};

#endif /* OBJ_EXIT_H_ */
