C# Class Scorpio.Variable.ScriptNumberInt

Inheritance: Scorpio.ScriptNumber
Exibir arquivo Open project: qingfeng346/Scorpio-CSharp Class Usage Examples

Public Methods

Method Description
Abs ( ) : ScriptNumber
Assign ( ) : ScriptObject
AssignCompute ( TokenType type, ScriptObject obj ) : ScriptObject
Calc ( CALC c ) : ScriptNumber
Clamp ( ScriptNumber min, ScriptNumber max ) : ScriptNumber
Clone ( ) : ScriptObject
Compare ( TokenType type, ScriptObject num ) : bool
Compute ( TokenType type, ScriptObject obj ) : ScriptObject
Floor ( ) : ScriptNumber
Negative ( ) : ScriptNumber
ScriptNumberInt ( Script script, int value ) : System
ToInt32 ( ) : int

Method Details

Abs() public method

public Abs ( ) : ScriptNumber
return Scorpio.ScriptNumber

Assign() public method

public Assign ( ) : ScriptObject
return Scorpio.ScriptObject

AssignCompute() public method

public AssignCompute ( TokenType type, ScriptObject obj ) : ScriptObject
type TokenType
obj Scorpio.ScriptObject
return Scorpio.ScriptObject

Calc() public method

public Calc ( CALC c ) : ScriptNumber
c CALC
return Scorpio.ScriptNumber

Clamp() public method

public Clamp ( ScriptNumber min, ScriptNumber max ) : ScriptNumber
min Scorpio.ScriptNumber
max Scorpio.ScriptNumber
return Scorpio.ScriptNumber

Clone() public method

public Clone ( ) : ScriptObject
return Scorpio.ScriptObject

Compare() public method

public Compare ( TokenType type, ScriptObject num ) : bool
type TokenType
num Scorpio.ScriptObject
return bool

Compute() public method

public Compute ( TokenType type, ScriptObject obj ) : ScriptObject
type TokenType
obj Scorpio.ScriptObject
return Scorpio.ScriptObject

Floor() public method

public Floor ( ) : ScriptNumber
return Scorpio.ScriptNumber

Negative() public method

public Negative ( ) : ScriptNumber
return Scorpio.ScriptNumber

ScriptNumberInt() public method

public ScriptNumberInt ( Script script, int value ) : System
script Script
value int
return System

ToInt32() public method

public ToInt32 ( ) : int
return int