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

NetworkAI Class Reference

Networked AI, communicating over a socket,. More...

#include <ai.h>

Inherits AI.

Inherited by _classes_ [private].

Inheritance diagram for NetworkAI:

Inheritance graph
[legend]
Collaboration diagram for NetworkAI:

Collaboration graph
[legend]
List of all members.

Public Methods

 NetworkAI (VirtualSocket vs)
virtual AIclone () const
 Every AI needs a Clone function. More...

virtual void execute (class Spectre *parent)
virtual ~NetworkAI ()

Protected Attributes

VirtualSocket sockt
 Allows This to write and read from the server as if it were the only thing listening. More...


Detailed Description

Networked AI, communicating over a socket,.


Constructor & Destructor Documentation

NetworkAI::NetworkAI VirtualSocket    vs
 

virtual NetworkAI::~NetworkAI   [inline, virtual]
 

00030 {}      


Member Function Documentation

virtual AI* NetworkAI::clone   const [inline, virtual]
 

Every AI needs a Clone function.

Reimplemented from AI.

00028 {return new NetworkAI(sockt);}

virtual void NetworkAI::execute class Spectre   parent [virtual]
 

this function can be overwritten by the subclass's function

Reimplemented from AI.


Member Data Documentation

VirtualSocket NetworkAI::sockt [protected]
 

Allows This to write and read from the server as if it were the only thing listening.


The documentation for this class was generated from the following file:
Generated on Mon Jul 7 21:13:53 2003 for Ethereal by doxygen1.2.15