Subversion Repositories Kolibri OS

Rev

Blame | Last modification | View Log | RSS feed

  1. #ifndef CRAB_H
  2. #define CRAB_H
  3.  
  4. #include "../collision.h"
  5.  
  6. typedef struct {
  7.         int id;
  8.         int hp, invincible;
  9.         double x, y;
  10.         double hsp, vsp;
  11.         double imageIndex;
  12.         int state, timer, counter;
  13.        
  14.         Mask mask;
  15. } Crab;
  16.  
  17. void createCrab(int x, int y);
  18.  
  19. typedef struct {
  20.         int id;
  21.         double x, y;
  22.         double angle;
  23.         double imageIndex;
  24.        
  25.         Mask mask;
  26. } Electricity;
  27.  
  28. void createElectricity(int x, int y, double angle, int minid);
  29.  
  30. #endif