James Heavey
/
EL17JH
FINAL VERSION
Embed:
(wiki syntax)
Laser Class Reference
#include <Laser.h>
Public Member Functions | |
Laser () | |
Constructor declaration. | |
~Laser () | |
Deconstructor declaration. | |
void | init () |
Initialises the laser off screen with a set velocity. | |
void | draw (N5110 &lcd) |
Draws the Laser at at its current coordinates on the LCD. | |
void | update () |
Update the Laser's y coordinate based on its velocity. | |
void | set_posx (int x) |
Sets the Laser's x coordinate. | |
void | set_posy (int y) |
Sets the Laser's x coordinate. | |
int | get_x () |
Retrieve the Laser's current x coordinate. | |
int | get_y () |
Retrieve the Laser's current y coordinate. |
Detailed Description
Laser Class.
- Date:
- May 2019
Definition at line 14 of file Laser.h.
Constructor & Destructor Documentation
Member Function Documentation
void draw | ( | N5110 & | lcd ) |
int get_x | ( | ) |
int get_y | ( | ) |
void init | ( | ) |
void set_posx | ( | int | x ) |
void set_posy | ( | int | y ) |
Generated on Thu Jul 14 2022 01:22:29 by 1.7.2