SDL Breakout Engine  0.1.0
An implementation of a Breakout game using sdl, implemented with efficient resource management.
Classes | Enums | Functions
LevelManager.hpp File Reference
#include <vector>
#include "TinyMath.hpp"
#include <string>
#include <fstream>
#include <memory>
#include <sstream>

Go to the source code of this file.

Classes

struct  Level
 
class  LevelManager
 

Enums

enum  BlockColor {
  NONE = 0, BLUE, GREEN, GREY,
  PURPLE, RED, YELLOW
}
 

Functions

static ostream & operator<< (ostream &os, const Level &l)
 

Enumeration Type Documentation

enum BlockColor

The possible block colors supported by this breakout game.

Enum ValuesDocumentation
NONE 

Empty space.

BLUE 

Blue tile.

GREEN 

Green tile.

GREY 

Grey tile.

PURPLE 

Purple tile.

RED 

Red tile.

YELLOW 

Yellow tile.

Function Documentation

static ostream& operator<< ( ostream &  os,
const Level l 
)
static

Prints out a level to the given os

the stream the level