prosperon/source/engine/pinball.h
2021-12-01 03:29:18 +00:00

19 lines
369 B
C

#ifndef PINBALL_H
#define PINBALL_H
struct mGameObject;
struct flipper {
float angle1;
float angle2;
float flipspeed;
int left;
};
struct flipper *pinball_flipper_make(struct mGameObject *go);
void pinball_flipper_init(struct flipper *flip, struct mGameObject *go);
void pinball_flipper_update(struct flipper *flip, struct mGameObject *go);
#endif