Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
ScaleUpTransition Class Reference

#include <GameWindowTransitions.h>

Inherits Transition.

Public Member Functions

 ScaleUpTransition (void)
 
virtual ~ScaleUpTransition (void)
 
virtual void init (GameWindow *win)
 
virtual void update (Int frame)
 
virtual void reverse (void)
 
virtual void draw (void)
 
virtual void skip (void)
 
- Public Member Functions inherited from Transition
 Transition (void)
 
virtual ~Transition (void)
 
Bool isFinished (void)
 
Int getFrameLength (void)
 

Protected Types

enum  {
  SCALEUPTRANSITION_START = 0 , SCALEUPTRANSITION_1 = 1 , SCALEUPTRANSITION_2 = 2 , SCALEUPTRANSITION_3 = 3 ,
  SCALEUPTRANSITION_4 = 4 , SCALEUPTRANSITION_5 = 5 , SCALEUPTRANSITION_END
}
 

Protected Attributes

ICoord2D m_pos
 
ICoord2D m_size
 
Int m_drawState
 
ICoord2D m_centerPos
 
ICoord2D m_incrementSize
 
- Protected Attributes inherited from Transition
Int m_frameLength
 
Bool m_isFinished
 
Bool m_isForward
 
Bool m_isReversed
 
GameWindowm_win
 

Detailed Description

Definition at line 416 of file GameWindowTransitions.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
protected
Enumerator
SCALEUPTRANSITION_START 
SCALEUPTRANSITION_1 
SCALEUPTRANSITION_2 
SCALEUPTRANSITION_3 
SCALEUPTRANSITION_4 
SCALEUPTRANSITION_5 
SCALEUPTRANSITION_END 

Definition at line 430 of file GameWindowTransitions.h.

Constructor & Destructor Documentation

◆ ScaleUpTransition()

ScaleUpTransition::ScaleUpTransition ( void )

Definition at line 751 of file GameWindowTransitionsStyles.cpp.

◆ ~ScaleUpTransition()

ScaleUpTransition::~ScaleUpTransition ( void )
virtual

Definition at line 759 of file GameWindowTransitionsStyles.cpp.

Member Function Documentation

◆ draw()

void ScaleUpTransition::draw ( void )
virtual

Implements Transition.

Definition at line 853 of file GameWindowTransitionsStyles.cpp.

◆ init()

void ScaleUpTransition::init ( GameWindow * win)
virtual

Implements Transition.

Definition at line 764 of file GameWindowTransitionsStyles.cpp.

◆ reverse()

void ScaleUpTransition::reverse ( void )
virtual

Implements Transition.

Definition at line 846 of file GameWindowTransitionsStyles.cpp.

◆ skip()

void ScaleUpTransition::skip ( void )
virtual

Implements Transition.

Definition at line 867 of file GameWindowTransitionsStyles.cpp.

◆ update()

void ScaleUpTransition::update ( Int frame)
virtual

Implements Transition.

Definition at line 784 of file GameWindowTransitionsStyles.cpp.

Member Data Documentation

◆ m_centerPos

ICoord2D ScaleUpTransition::m_centerPos
protected

Definition at line 456 of file GameWindowTransitions.h.

◆ m_drawState

Int ScaleUpTransition::m_drawState
protected

Definition at line 455 of file GameWindowTransitions.h.

◆ m_incrementSize

ICoord2D ScaleUpTransition::m_incrementSize
protected

Definition at line 457 of file GameWindowTransitions.h.

◆ m_pos

ICoord2D ScaleUpTransition::m_pos
protected

Definition at line 453 of file GameWindowTransitions.h.

◆ m_size

ICoord2D ScaleUpTransition::m_size
protected

Definition at line 454 of file GameWindowTransitions.h.


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