Nuclide
Software Development Kit for id Technology (BETA)
Loading...
Searching...
No Matches
prop_door_rotating Class Reference
Inheritance diagram for prop_door_rotating:
ncRenderableEntity

Public Member Functions

void prop_door_rotating (void)
 
virtual void Save (float)
 Handles saving a copy of this entity to a given filehandle.
 
virtual void Restore (string, string)
 Similar to ncIO::SpawnKey() but for save-game fields.
 
virtual void Respawn (void)
 Server: Called when the entity first spawns or when game-logic requests the entity to return to its original spawn state.
 
virtual void SpawnKey (string, string)
 This method handles entity key/value pairs on map load.
 
nonvirtual void Interact (void)
 
nonvirtual void Turn (vector, void(void))
 
nonvirtual void Opened (void)
 
nonvirtual void Closed (void)
 

Constructor & Destructor Documentation

◆ prop_door_rotating()

void prop_door_rotating::prop_door_rotating ( void )

Member Function Documentation

◆ Closed()

void prop_door_rotating::Closed ( void )

◆ Interact()

void prop_door_rotating::Interact ( void )

◆ Opened()

void prop_door_rotating::Opened ( void )

◆ Respawn()

void prop_door_rotating::Respawn ( void )
virtual

Server: Called when the entity first spawns or when game-logic requests the entity to return to its original spawn state.

Reimplemented from ncRenderableEntity.

◆ Restore()

void prop_door_rotating::Restore ( string keyName,
string setValue )
virtual

Similar to ncIO::SpawnKey() but for save-game fields.

Whatever you write into file handles within your ncIO::Save() method needs to be read back in here.

Reimplemented from ncRenderableEntity.

◆ Save()

void prop_door_rotating::Save ( float handle)
virtual

Handles saving a copy of this entity to a given filehandle.

Within you want to use the ncIO::SaveFloat() etc. methods to write the internal member attributes to the specified file handle.

Reimplemented from ncRenderableEntity.

◆ SpawnKey()

void prop_door_rotating::SpawnKey ( string keyName,
string setValue )
virtual

This method handles entity key/value pairs on map load.

You can easily convert the strValue parameter using the ReadFloat etc. methods that are part of ncIO.

Reimplemented from ncRenderableEntity.

◆ Turn()

void prop_door_rotating::Turn ( vector vecDest,
void(void) vFunc )

The documentation for this class was generated from the following file: