Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed Gamepad N5110
Pos Struct Reference
Pos struct for position of moving platforms and spikes. More...
#include <Levels.h>
Data Fields | |
int | x |
x cord of hoz1 | |
int | y |
y cord of hoz1 | |
int | d |
direction of hoz1 (0 is right, 1 is left) | |
int | c |
counter for hoz1 | |
int | l |
length of hoz1 | |
int | h |
height of hoz1 | |
int | x2 |
x cord of hoz2 | |
int | y2 |
y cord of hoz2 | |
int | d2 |
direction of hoz2 (0 is right, 1 is left) | |
int | c2 |
counter for hoz2 | |
int | l2 |
length of hoz2 | |
int | h2 |
length of hoz2 | |
int | vx |
x cord of ver1 | |
int | vy |
y cord of ver1 | |
int | vd |
direction of ver 1 (0 is down, 1 is up) | |
int | vc |
counter for ver1 | |
int | vl |
length of ver1 | |
int | vh |
height of ver1 | |
int | vx2 |
x cord of ver2 | |
int | vy2 |
y cord of ver2 | |
int | vd2 |
direction of ver2 (0 is down, 1 is up) | |
int | vc2 |
counter for ver2 | |
int | vl2 |
length of ver2 | |
int | vh2 |
height of ver2 | |
int | sx |
x cord of spikes | |
int | sy |
y cord of spikes | |
int | sl |
length of spikes |
Detailed Description
Pos struct for position of moving platforms and spikes.
Definition at line 8 of file Levels.h.
Field Documentation
Generated on Fri Jul 15 2022 00:42:15 by
