Subversion Repositories Kolibri OS

Rev

Blame | Last modification | View Log | RSS feed

  1. #ifndef GHOUL_H
  2. #define GHOUL_H
  3.  
  4. #include "../collision.h"
  5.  
  6. typedef struct {
  7.         int id;
  8.         int hp;
  9.         double x, y;
  10.         double vsp, grav;
  11.         int type;
  12.         int onground;
  13.         int dir;
  14.         int state, timer, invincible;
  15.         double imageIndex;
  16.        
  17.         Mask mask;
  18. } Ghoul;
  19.  
  20. void createGhoul(int x, int y, int type);
  21.  
  22. #endif