mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-13 07:34:45 +00:00
Makes netObjects inherit off simGroup as opposed to simObject so that just about any object can function as a parent with children.
This commit is contained in:
parent
86dd8a8cf7
commit
de0fe06bc8
1 changed files with 2 additions and 2 deletions
|
|
@ -217,7 +217,7 @@ struct GhostInfo;
|
||||||
/// the documentation on AbstractClassRep for more details.
|
/// the documentation on AbstractClassRep for more details.
|
||||||
///
|
///
|
||||||
/// @nosubgrouping
|
/// @nosubgrouping
|
||||||
class NetObject: public SimObject
|
class NetObject : public SimGroup
|
||||||
{
|
{
|
||||||
// The Ghost Manager needs read/write access
|
// The Ghost Manager needs read/write access
|
||||||
friend class NetConnection;
|
friend class NetConnection;
|
||||||
|
|
@ -228,7 +228,7 @@ class NetObject: public SimObject
|
||||||
friend class GhostAlwaysObjectEvent;
|
friend class GhostAlwaysObjectEvent;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
typedef SimObject Parent;
|
typedef SimGroup Parent;
|
||||||
|
|
||||||
/// Mask indicating which states are dirty and need to be retransmitted on this
|
/// Mask indicating which states are dirty and need to be retransmitted on this
|
||||||
/// object.
|
/// object.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue