Table of Contents

Method FinalizePreview

Namespace
GrindFest.UI
Assembly
GrindFest.dll

FinalizePreview(string, CharacterClass)

Turns the preview into a real hero: charges the class price, names it, plays the sit animation, adds it to the party and fires HeroCreated.

public HeroController FinalizePreview(string heroName, CharacterClass characterClass)

Parameters

heroName string
characterClass CharacterClass

Returns

HeroController

The hero, or null when there was no preview to finalize.