C# Класс ProblemPart, thinksy_unity_plugin

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Описание методов

CreateProblemPart() публичный статический Метод

public static CreateProblemPart ( Senseix newAtom ) : ProblemPart,
newAtom Senseix
Результат ProblemPart,

CreateProblemPart() публичный статический Метод

public static CreateProblemPart ( int number ) : ProblemPart,
number int
Результат ProblemPart,

CreateProblemPart() публичный статический Метод

public static CreateProblemPart ( string text ) : ProblemPart,
text string
Результат ProblemPart,

GetAtom() публичный Метод

public GetAtom ( ) : Senseix.Message.Atom.Atom
Результат Senseix.Message.Atom.Atom

GetInteger() публичный Метод

public GetInteger ( ) : int
Результат int

GetSprite() публичный Метод

public GetSprite ( ) : Sprite
Результат Sprite

GetString() публичный Метод

public GetString ( ) : string
Результат string

GetUniqueID() публичный Метод

This is a uuid for this problem part. But, most likely, from your perspective, it's just a meaningless string.
public GetUniqueID ( ) : string
Результат string

HasInteger() публичный Метод

public HasInteger ( ) : bool
Результат bool

HasSprite() публичный Метод

public HasSprite ( ) : bool
Результат bool

HasString() публичный Метод

public HasString ( ) : bool
Результат bool

IsMultipleChoiceLetter() публичный Метод

Determines whether this instance is multiple choice letter.
public IsMultipleChoiceLetter ( ) : bool
Результат bool

ProblemPart() публичный Метод

public ProblemPart ( Senseix newAtom ) : System
newAtom Senseix
Результат System

ProblemPart() публичный Метод

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
Результат System

ProblemPart() публичный Метод

This will build an image ProblemPart. The filename references only Sprites from resources.
public ProblemPart ( string filename, bool isPretty ) : System
filename string
isPretty bool
Результат System

TimesRepeated() публичный Метод

public TimesRepeated ( ) : int
Результат int