class Fragment: public GameObjTimed

This class represent a small flying fragment

Inheritance:


Public Fields

[more]Point3f c
The color of the fragment

Public Methods

[more] Fragment()
Minimal Constructor
[more] Fragment(Point3f C)
Minimal Constructor with color specification.
[more]int Draw()
This function draw a single Fragment

Inherited from GameObjTimed:

Public Fields

oint ttl

Public Methods

ovoid Update(int t)

Inherited from GameObj:

Public Fields

oPoint3f p
oPoint3f axis
ofloat angle
oPoint3f v
ofloat av
obool active
oSphere3f B

Public Methods

oPoint3f VDir()
obool Collide(GameObj *o)
ovoid DrawBound()
obool operator < ( GameObj const & o ) const
obool operator == ( GameObj const & o ) const

Documentation

This class represent a small flying fragment. It is used to show fragments in explosions, it is just a simple triangle; Version History
  • 0.4s First release.
o Fragment()
Minimal Constructor

o Fragment(Point3f C)
Minimal Constructor with color specification.

oint Draw()
This function draw a single Fragment. Just a single triangle white or with the specified color..

oPoint3f c
The color of the fragment


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.