tge/engine/game/scopeAlwaysShape.cc
2025-02-17 23:17:30 -06:00

30 lines
727 B
C++
Executable File

//-----------------------------------------------------------------------------
// Torque Game Engine
// Copyright (C) GarageGames.com, Inc.
//-----------------------------------------------------------------------------
#include "game/staticShape.h"
#include "game/gameConnection.h"
class ScopeAlwaysShape : public StaticShape
{
typedef StaticShape Parent;
public:
ScopeAlwaysShape();
static void initPersistFields();
DECLARE_CONOBJECT(ScopeAlwaysShape);
};
ScopeAlwaysShape::ScopeAlwaysShape()
{
mNetFlags.set(Ghostable|ScopeAlways);
}
void ScopeAlwaysShape::initPersistFields()
{
Parent::initPersistFields();
}
IMPLEMENT_CO_NETOBJECT_V1(ScopeAlwaysShape);