SwigDirector_GSimpleAI Class Reference

#include <armagetronad_wrap.h>

Inheritance diagram for SwigDirector_GSimpleAI:

Inheritance graph
[legend]
Collaboration diagram for SwigDirector_GSimpleAI:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 SwigDirector_GSimpleAI (VALUE self)
virtual ~SwigDirector_GSimpleAI ()
virtual REAL DoThink ()


Detailed Description

Definition at line 86 of file armagetronad_wrap.h.


Constructor & Destructor Documentation

SwigDirector_GSimpleAI::SwigDirector_GSimpleAI ( VALUE  self  ) 

Definition at line 2827 of file armagetronad_wrap.cxx.

02827                                                         : gSimpleAI(), Swig::Director(self) {
02828   
02829 }

SwigDirector_GSimpleAI::~SwigDirector_GSimpleAI (  )  [virtual]

Definition at line 2833 of file armagetronad_wrap.cxx.

02833                                                 {
02834 }


Member Function Documentation

REAL SwigDirector_GSimpleAI::DoThink (  )  [virtual]

Implements gSimpleAI.

Definition at line 2836 of file armagetronad_wrap.cxx.

References NULL, REAL, SWIG_ArgError, SWIG_AsVal_float(), SWIG_ErrorType, and SWIG_IsOK.

02836                                      {
02837   REAL c_result ;
02838   VALUE result;
02839   
02840   result = rb_funcall(swig_get_self(), rb_intern("do_think"), 0, NULL);
02841   float swig_val;
02842   int swig_res = SWIG_AsVal_float(result, &swig_val);
02843   if (!SWIG_IsOK(swig_res)) {
02844     Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""REAL""'");
02845   }
02846   c_result = static_cast< REAL >(swig_val);
02847   return (REAL) c_result;
02848 }

Here is the call graph for this function:


The documentation for this class was generated from the following files:
Generated on Sat Mar 15 23:54:48 2008 for Armagetron Advanced by  doxygen 1.5.4