Skip to content
Permalink
7c65d5344b
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
22 lines (17 sloc) 422 Bytes
#ifndef ENTITY_H
#define ENTITY_H
#include "drawable.h"
#include <iostream>
class Entity : public Drawable
{
public:
char appearance;
Entity( char _appearance,
int _x=0, int _y=0,
Terminal::Color _foreground=Terminal::Color::FG_DEFAULT, Terminal::Color _background=Terminal::Color::BG_DEFAULT )
: Drawable( _x, _y, _foreground, _background ), appearance(_appearance)
{
}
void draw() const;
};
#endif