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

CBanana Class Reference

#include <thing.h>

Inheritance diagram for CBanana::

CThing List of all members.

Public Methods

 CBanana ()
virtual void Draw ()
 Called to draw this thing. Note that this does not get called if thing does not get drawn (i.e. if clipped out of visible viewport). Use Tick() for updating things that must be updated each frame.

virtual int OnHeroShot ()
 Called when thing is shot by hero. m_bShootable must be set.

virtual int HeroOverlaps ()
 Called each frame that hero is touching the action box.


Protected Attributes

int m_nState

Detailed Description

Banana. If you shoot the banana, it becomes a bunch of bananas, and is worth more. This is the equivalent of the turkey in the real Duke.


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

http://www.scorpioncity.com/djgame.html
Copyright (C) David Joffe. Generated: 15 Jul 2001