Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

anoid::plugin::Alpha Class Reference

#include <alpha.hh>

Inheritance diagram for anoid::plugin::Alpha:

Inheritance graph
[legend]
Collaboration diagram for anoid::plugin::Alpha:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual double getAlpha ()
virtual void setAlpha (const double a)
 Alpha ()
virtual void init (config::Configuration &c)
virtual void redraw ()

Protected Attributes

double alpha

Detailed Description

This is the ability to have an alpha value

Definition at line 13 of file alpha.hh.


Constructor & Destructor Documentation

anoid::plugin::Alpha::Alpha  
 

Definition at line 28 of file alpha.cc.


Member Function Documentation

double anoid::plugin::Alpha::getAlpha   [virtual]
 

Definition at line 20 of file alpha.cc.

References alpha.

void anoid::plugin::Alpha::init config::Configuration   c [virtual]
 

This is the real initialiser. It should take it's parameters from the provided configuration

Parameters:
c  the configuration describing this object and it's children

Reimplemented from anoid::base::Ability.

Definition at line 10 of file alpha.cc.

References alpha, and anoid::base::Ability::registerName().

void anoid::plugin::Alpha::redraw   [virtual]
 

Called just after update has been called on the entire world. This should draw the objects (using OpenGL).

Reimplemented from anoid::base::Object.

Definition at line 31 of file alpha.cc.

References alpha.

void anoid::plugin::Alpha::setAlpha const double    a [virtual]
 

Definition at line 24 of file alpha.cc.

References alpha.


Member Data Documentation

double anoid::plugin::Alpha::alpha [protected]
 

Definition at line 15 of file alpha.hh.

Referenced by getAlpha(), init(), redraw(), and setAlpha().


The documentation for this class was generated from the following files:
Anoid NG © Michael Westergaard, Martin Stig Stissing, Ronni Michael Laursen, and Kristian Bisgaard Lassen