C# Class ProblemPart, thinksy_unity_plugin

Afficher le fichier Open project: senseix/thinksy_unity_plugin Class Usage Examples

Méthodes publiques

Méthode Description
CreateProblemPart ( Senseix newAtom ) : ProblemPart,
CreateProblemPart ( int number ) : ProblemPart,
CreateProblemPart ( string text ) : ProblemPart,
GetAtom ( ) : Senseix.Message.Atom.Atom
GetInteger ( ) : int
GetSprite ( ) : Sprite
GetString ( ) : string
GetUniqueID ( ) : string

This is a uuid for this problem part. But, most likely, from your perspective, it's just a meaningless string.

HasInteger ( ) : bool
HasSprite ( ) : bool
HasString ( ) : bool
IsMultipleChoiceLetter ( ) : bool

Determines whether this instance is multiple choice letter.

ProblemPart ( Senseix newAtom ) : System
ProblemPart ( string textContent ) : System

This will build a text ProblemPart. Hot tip: numbers are actually text ProblemParts. If the text happens to be numbers, it will be treated as such.

ProblemPart ( string filename, bool isPretty ) : System

This will build an image ProblemPart. The filename references only Sprites from resources.

TimesRepeated ( ) : int

Method Details

CreateProblemPart() public static méthode

public static CreateProblemPart ( Senseix newAtom ) : ProblemPart,
newAtom Senseix
Résultat ProblemPart,

CreateProblemPart() public static méthode

public static CreateProblemPart ( int number ) : ProblemPart,
number int
Résultat ProblemPart,

CreateProblemPart() public static méthode

public static CreateProblemPart ( string text ) : ProblemPart,
text string
Résultat ProblemPart,

GetAtom() public méthode

public GetAtom ( ) : Senseix.Message.Atom.Atom
Résultat Senseix.Message.Atom.Atom

GetInteger() public méthode

public GetInteger ( ) : int
Résultat int

GetSprite() public méthode

public GetSprite ( ) : Sprite
Résultat Sprite

GetString() public méthode

public GetString ( ) : string
Résultat string

GetUniqueID() public méthode

This is a uuid for this problem part. But, most likely, from your perspective, it's just a meaningless string.
public GetUniqueID ( ) : string
Résultat string

HasInteger() public méthode

public HasInteger ( ) : bool
Résultat bool

HasSprite() public méthode

public HasSprite ( ) : bool
Résultat bool

HasString() public méthode

public HasString ( ) : bool
Résultat bool

IsMultipleChoiceLetter() public méthode

Determines whether this instance is multiple choice letter.
public IsMultipleChoiceLetter ( ) : bool
Résultat bool

ProblemPart() public méthode

public ProblemPart ( Senseix newAtom ) : System
newAtom Senseix
Résultat System

ProblemPart() public méthode

This will build a text ProblemPart. Hot tip: numbers are actually text ProblemParts. If the text happens to be numbers, it will be treated as such.
public ProblemPart ( string textContent ) : System
textContent string
Résultat System

ProblemPart() public méthode

This will build an image ProblemPart. The filename references only Sprites from resources.
public ProblemPart ( string filename, bool isPretty ) : System
filename string
isPretty bool
Résultat System

TimesRepeated() public méthode

public TimesRepeated ( ) : int
Résultat int