#include <actor.h>
|
| Actor (int _x, int _y, char _sprite, Uint32 col) |
|
int | get_x () |
|
int | get_y () |
|
char | get_char () |
|
Uint32 | get_color () |
|
A basic actor in an animation scene!
Actor::Actor |
( |
int |
_x, |
|
|
int |
_y, |
|
|
char |
_sprite, |
|
|
Uint32 |
col |
|
) |
| |
Constructor for the actor.
The color of the actor. Whoa, that sounds a little racey.
The sprite of the animation...wait...this is a char! Hurray for implicit conversions. Note: change this to an int.
The x coordinate of the actor (relative to the coords of the animation).
The y coordinate of the actor (relative to the coords of the animation).
The documentation for this class was generated from the following files:
- src/animation/actor.h
- src/animation/actor.cpp