Super Derpy: Muffin Attack
 All Classes Files Functions Variables Enumerations Macros
Functions
callbacks.c File Reference

Obstacle callbacks for Level. More...

#include <math.h>
#include "callbacks.h"

Functions

void Obst_MoveUpDown (struct Game *game, struct Obstacle *obstacle)
 Move up or down until reaching the edge of the screen. After that - change direction.
void Obst_MoveUp (struct Game *game, struct Obstacle *obstacle)
 Move up at constant speed.
void Obst_RotateSin (struct Game *game, struct Obstacle *obstacle)
 Rotate in sinusoidal way.
void Obst_MoveSin (struct Game *game, struct Obstacle *obstacle)
 Move in sinusoidal way in Y-axis relative to position at beginning.

Detailed Description

Obstacle callbacks for Level.