Initial commit
This commit is contained in:
29
Torque/SDK/engine/game/scopeAlwaysShape.cc
Normal file
29
Torque/SDK/engine/game/scopeAlwaysShape.cc
Normal file
@@ -0,0 +1,29 @@
|
||||
//-----------------------------------------------------------------------------
|
||||
// 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);
|
||||
Reference in New Issue
Block a user