C# Class LTGUI, LeanTween

Exibir arquivo Open project: dentedpixel/LeanTween Class Usage Examples

Public Properties

Property Type Description
BUTTONS_MAX int
RECTS_PER_LEVEL int
RECT_LEVELS int

Public Methods

Method Description
checkOnScreen ( Rect rect ) : bool
checkWithinRect ( Vector2 vec2, Rect rect ) : bool
destroy ( int id ) : void
destroyAll ( int depth ) : void
element ( LTRect, rect, int depth ) : LTRect,
firstTouch ( ) : Vector2
hasNoOverlap ( Rect rect, int depth ) : bool
init ( ) : void
initRectCheck ( ) : void
label ( LTRect, rect, string label, int depth ) : LTRect,
label ( Rect rect, string label, int depth ) : LTRect,
pressedWithinRect ( Rect rect ) : bool
reset ( ) : void
texture ( LTRect, rect, Texture texture, int depth ) : LTRect,
texture ( Rect rect, Texture texture, int depth ) : LTRect,
update ( int updateLevel ) : void

Method Details

checkOnScreen() public static method

public static checkOnScreen ( Rect rect ) : bool
rect Rect
return bool

checkWithinRect() public static method

public static checkWithinRect ( Vector2 vec2, Rect rect ) : bool
vec2 Vector2
rect Rect
return bool

destroy() public static method

public static destroy ( int id ) : void
id int
return void

destroyAll() public static method

public static destroyAll ( int depth ) : void
depth int
return void

element() public static method

public static element ( LTRect, rect, int depth ) : LTRect,
rect LTRect,
depth int
return LTRect,

firstTouch() public static method

public static firstTouch ( ) : Vector2
return Vector2

hasNoOverlap() public static method

public static hasNoOverlap ( Rect rect, int depth ) : bool
rect Rect
depth int
return bool

init() public static method

public static init ( ) : void
return void

initRectCheck() public static method

public static initRectCheck ( ) : void
return void

label() public static method

public static label ( LTRect, rect, string label, int depth ) : LTRect,
rect LTRect,
label string
depth int
return LTRect,

label() public static method

public static label ( Rect rect, string label, int depth ) : LTRect,
rect Rect
label string
depth int
return LTRect,

pressedWithinRect() public static method

public static pressedWithinRect ( Rect rect ) : bool
rect Rect
return bool

reset() public static method

public static reset ( ) : void
return void

texture() public static method

public static texture ( LTRect, rect, Texture texture, int depth ) : LTRect,
rect LTRect,
texture Texture
depth int
return LTRect,

texture() public static method

public static texture ( Rect rect, Texture texture, int depth ) : LTRect,
rect Rect
texture Texture
depth int
return LTRect,

update() public static method

public static update ( int updateLevel ) : void
updateLevel int
return void

Property Details

BUTTONS_MAX public_oe static_oe property

public static int BUTTONS_MAX
return int

RECTS_PER_LEVEL public_oe static_oe property

public static int RECTS_PER_LEVEL
return int

RECT_LEVELS public_oe static_oe property

public static int RECT_LEVELS
return int