cw.characterStageThree panelclient
Panel defined in core/derma/cl_character.lua
Summary
Methods
FadeIn(speed, Callback)client
Shows the step and fades it in, playing the click sound.
FadeOut(speed, Callback)client
Fades the step out and hides it, playing the rollover sound.
Init()client
Builds the class creation step (
cw.characterStageThree) with a cwClassesItem for each class of the chosen faction that is shown on the character screen.OnNext()client
Checks that a valid class was picked, showing an error otherwise.
Paint(w, h)client
Draws nothing.
PerformLayout(w, h)client
Sizes the step to fit its class list, up to 60% of the screen height.
Think()client
Runs the step's fade animation.
Methods
Shows the step and fades it in, playing the click sound.
When the step is already visible or animating, it is made fully visible at once.
Parameters
- speed Number Length of the fade in seconds
- Callback Function optional, defaults to
nilCalled once the step is fully visible
Fades the step out and hides it, playing the rollover sound.
When the step is already transparent or animating, it is hidden at once.
Parameters
- speed Number Length of the fade in seconds
- Callback Function optional, defaults to
nilCalled once the step is hidden
Builds the class creation step (cw.characterStageThree) with a cwClassesItem for each class of the
chosen faction that is shown on the character screen.
Clicking a class stores its index as the creation info's class.
Checks that a valid class was picked, showing an error otherwise.
Returns
- Boolean
falseto stay on the step when no valid class is selected
Draws nothing.
Parameters
- w
- h
Sizes the step to fit its class list, up to 60% of the screen height.
Parameters
- w
- h
Runs the step's fade animation.