cocos2d-x  3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
PUDynamicAttributeRandom Class Reference

#include <CCPUDynamicAttribute.h>

Inheritance diagram for PUDynamicAttributeRandom:
PUDynamicAttribute Ref

Public Member Functions

 PUDynamicAttributeRandom (void)
 Constructor. More...
 
 PUDynamicAttributeRandom ()
 Constructor. More...
 
 PUDynamicAttributeRandom ()
 Constructor. More...
 
 PUDynamicAttributeRandom (const PUDynamicAttributeRandom &dynamicAttributeRandom)
 Copy constructor. More...
 
 PUDynamicAttributeRandom ( var dynamicAttributeRandom)
 Copy constructor. More...
 
 PUDynamicAttributeRandom ( local dynamicAttributeRandom)
 Copy constructor. More...
 
 ~PUDynamicAttributeRandom (void)
 Destructor. More...
 
virtual float getValue (float x=0) override
 Todo. More...
 
void setMin (float min)
 Todo. More...
 
float getMin (void) const
void setMax (float max)
float getMax (void) const
void setMinMax (float min, float max)
virtual PUDynamicAttributeRandomclone () override
local clone ()
virtual void copyAttributesTo (PUDynamicAttribute *dynamicAttribute) override
var copyAttributesTo ( var dynamicAttribute)
local copyAttributesTo ( local dynamicAttribute)
- Public Member Functions inherited from PUDynamicAttribute
 PUDynamicAttribute (void)
 Constructor. More...
 
virtual ~PUDynamicAttribute (void)
 Destructor. More...
 
DynamicAttributeType getType (void) const
 Todo. More...
 
void setType (DynamicAttributeType type)
 Todo. More...
 
bool isValueChangedExternally (void) const
 Returns true if one of the attributes was changed by an external source. More...
 
- Public Member Functions inherited from Ref
void retain ()
 Retains the ownership. More...
 
void release ()
 Releases the ownership immediately. More...
 
Refautorelease ()
 Releases the ownership sometime soon automatically. More...
 
unsigned int getReferenceCount () const
 Returns the Ref's current reference count. More...
 
virtual ~Ref ()
 Destructor. More...
 

Protected Attributes

float _min
float _max
- Protected Attributes inherited from PUDynamicAttribute
DynamicAttributeType _type
bool _valueChangedExternally
- Protected Attributes inherited from Ref
unsigned int _referenceCount
 count of references More...
 
local _referenceCount
 count of references More...
 

Additional Inherited Members

- Public Types inherited from PUDynamicAttribute
enum  DynamicAttributeType { DAT_FIXED, DAT_RANDOM, DAT_CURVED, DAT_OSCILLATE }
 
- Protected Member Functions inherited from Ref
 Ref ()
 Constructor. More...
 
 Ref ()
 Constructor. More...
 

Constructor & Destructor Documentation

Constructor.

Constructor.

Constructor.

PUDynamicAttributeRandom ( const PUDynamicAttributeRandom dynamicAttributeRandom)

Copy constructor.

var PUDynamicAttributeRandom ( var  dynamicAttributeRandom)

Copy constructor.

local PUDynamicAttributeRandom ( local  dynamicAttributeRandom)

Copy constructor.

Destructor.

Destructor.

local ~PUDynamicAttributeRandom (   )

Destructor.

Member Function Documentation

virtual
PUDynamicAttributeRandom*
clone
( )
overridevirtual

Implements PUDynamicAttribute.

var clone ( )
overridevirtual

Implements PUDynamicAttribute.

local clone ( )
overridevirtual

Implements PUDynamicAttribute.

virtual void copyAttributesTo ( PUDynamicAttribute dynamicAttribute)
overridevirtual

Implements PUDynamicAttribute.

var copyAttributesTo ( var  dynamicAttribute)
overridevirtual

Implements PUDynamicAttribute.

local copyAttributesTo ( local  dynamicAttribute)
overridevirtual

Implements PUDynamicAttribute.

float getMax ( void  ) const
var getMax (   )
local getMax (   )
float getMin ( void  ) const
var getMin (   )
local getMin (   )
virtual float getValue ( float  x = 0)
overridevirtual

Todo.

Implements PUDynamicAttribute.

var getValue ( var  x = 0)
overridevirtual

Todo.

Implements PUDynamicAttribute.

local getValue ( local  x = 0)
overridevirtual

Todo.

Implements PUDynamicAttribute.

void setMax ( float  max)
var setMax ( var  max)
local setMax ( local  max)
void setMin ( float  min)

Todo.

var setMin ( var  min)

Todo.

local setMin ( local  min)

Todo.

void setMinMax ( float  min,
float  max 
)
var setMinMax ( var  min,
var  max 
)
local setMinMax ( local  min,
local  max 
)

Member Data Documentation

float _max
protected
var _max
protected
local _max
protected
float _min
protected
var _min
protected
local _min
protected

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