ddnet/src/game/editor/layer_game.cpp
2011-07-15 00:47:52 +02:00

23 lines
497 B
C++

/* (c) Magnus Auvinen. See licence.txt in the root of the distribution for more information. */
/* If you are missing that file, acquire a complete release at teeworlds.com. */
#include "editor.h"
CLayerGame::CLayerGame(int w, int h)
: CLayerTiles(w, h)
{
str_copy(m_aName, "Game", sizeof(m_aName));
m_Game = 1;
}
CLayerGame::~CLayerGame()
{
}
int CLayerGame::RenderProperties(CUIRect *pToolbox)
{
int r = CLayerTiles::RenderProperties(pToolbox);
m_Image = -1;
return r;
}