forked from KolibriOS/kolibrios
74e4f2673b
git-svn-id: svn://kolibrios.org@9566 a494cfbc-eb01-0410-851d-a64ba20cac60
24 lines
307 B
C
24 lines
307 B
C
#ifndef FISH_H
|
|
#define FISH_H
|
|
|
|
#include "../enemy.h"
|
|
#include "../collision.h"
|
|
|
|
typedef struct {
|
|
int id;
|
|
|
|
double x, y;
|
|
int xstart;
|
|
double imageIndex;
|
|
double spd;
|
|
int dir, turning;
|
|
|
|
Mask mask;
|
|
} Fish;
|
|
|
|
void createFish(int x, int y, int dir);
|
|
|
|
void fishStep(Fish* f);
|
|
void fishDraw(Fish* f);
|
|
|
|
#endif |