Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 9beed48067
Fetching contributors…

Cannot retrieve contributors at this time

24 lines (14 sloc) 0.565 kb
#ifndef SWITCH_H_INCLUDED
#define SWITCH_H_INCLUDED
#include "teleport.h"
#include "board.h"
typedef struct telePort_s switch_t;
int switchSetTargets( playField* pf );
int switchFindTele( playField* pf, int x, int y );
int switchIsValidTarget( playField* pf, int x, int y );
void switchAttachTarget( playField* pf, switch_t* sw );
int switchAmIEnabled(playField* pf, int x, int y);
void switchUpdateAll( playField* pf );
void switchAffectTarget( playField* pf, int x, int y, int newState );
void switchPutBack( playField* pf);
#endif // SWITCH_H_INCLUDED
Jump to Line
Something went wrong with that request. Please try again.