Roguelike
 All Classes Namespaces Functions Variables Typedefs Friends Pages
Public Member Functions | Private Attributes | List of all members
Frame Class Reference

#include <frame.h>

Public Member Functions

 Frame (std::vector< Actor > _actors)
 
 Frame ()
 
std::vector< Actorget_actors ()
 
void add_actor (Actor actor)
 
Actor actor (int a)
 

Private Attributes

std::vector< Actoractors
 

Detailed Description

The class for a single frame in an animation.

Constructor & Destructor Documentation

Frame::Frame ( std::vector< Actor _actors)

Constructor which takes in a list of actors.

Frame::Frame ( )

Blank constructor.

Member Function Documentation

Actor Frame::actor ( int  a)

Returns a particular actor.

void Frame::add_actor ( Actor  actor)

Adds an actor.

std::vector< Actor > Frame::get_actors ( )

Returns a list of actors.

Member Data Documentation

std::vector<Actor> Frame::actors
private

The list of actors in this frame.


The documentation for this class was generated from the following files: