Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

ListNode Class Reference

#include <listnode.h>

List of all members.

Public Methods

int Compare (const ListNode &Node)
int GetMyPosition () const
void SetMyPosition (int newPosition)

Public Attributes

int linkPosition
BSP_nodenode


Member Function Documentation

int ListNode::Compare const ListNode &    Node
 

Definition at line 12 of file listnode.cpp.

References bigger, linkPosition, same, and smaller.

00013 {
00014   if (linkPosition < Node.linkPosition)
00015     return smaller;
00016   if (linkPosition > Node.linkPosition)
00017     return bigger;
00018   else
00019     return same;
00020 }

int ListNode::GetMyPosition   const [inline]
 

Definition at line 10 of file listnode.h.

References linkPosition.

00010 {return linkPosition;}

void ListNode::SetMyPosition int    newPosition [inline]
 

Definition at line 11 of file listnode.h.

References linkPosition.

00011 {linkPosition = newPosition;}


Member Data Documentation

int ListNode::linkPosition
 

Definition at line 12 of file listnode.h.

Referenced by Compare(), GetMyPosition(), MakeNodeLists(), and SetMyPosition().

BSP_node* ListNode::node
 

Definition at line 14 of file listnode.h.

Referenced by CalculatePVS(), CheckForParticleCollision(), CountVisibleLeaves(), FindVisibleLeaves(), MakeNodeLists(), MakePortalList(), and UpdateBullets().


The documentation for this class was generated from the following files:
Generated on Fri Dec 23 05:19:59 2005 for Particles by doxygen1.2.15