Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

19 lines (14 sloc) 0.443 kB
#include "LuaPlanet.h"
#include "LuaUtils.h"
/*
* Class: Planet
*
* Class representing a planet. Inherits from <Body>.
*/
template <> const char *LuaObject<Planet>::s_type = "Planet";
template <> void LuaObject<Planet>::RegisterClass()
{
const char *l_parent = "Body";
LuaObjectBase::CreateClass(s_type, l_parent, NULL, NULL, NULL);
LuaObjectBase::RegisterPromotion(l_parent, s_type, LuaObject<Planet>::DynamicCastPromotionTest);
}
Jump to Line
Something went wrong with that request. Please try again.