C# Class MonoGdx.Scene2D.Group

Inheritance: Actor, ICullable
Mostra file Open project: jaquadro/MonoGdx Class Usage Examples

Public Methods

Method Description
Act ( float delta ) : void
AddActor ( Actor actor ) : void
AddActorAfter ( Actor actorAfter, Actor actor ) : void
AddActorAt ( int index, Actor actor ) : void
AddActorBefore ( Actor actorBefore, Actor actor ) : void
Clear ( ) : void
ClearChildren ( ) : void
Draw ( GdxSpriteBatch spriteBatch, float parentAlpha ) : void
FindActor ( string name ) : Actor
Group ( ) : System
Hit ( float x, float y, bool touchable ) : Actor
LocalToDescendantCoordinates ( Actor descendant, Vector2 localCoords ) : Vector2
Print ( ) : void
RemoveActor ( Actor actor ) : bool
SetCullingArea ( RectangleF cullingArea ) : void
SwapActor ( Actor first, Actor second ) : bool
SwapActor ( int first, int second ) : bool

Protected Methods

Method Description
ApplyTransform ( GdxSpriteBatch spriteBatch, Matrix transform ) : void
ChildrenChanged ( ) : void
ComputeTransform ( ) : Matrix
DrawChildren ( GdxSpriteBatch spriteBatch, float parentAlpha ) : void
ResetTransform ( GdxSpriteBatch spriteBatch ) : void

Private Methods

Method Description
Print ( string indent ) : void

Method Details

Act() public method

public Act ( float delta ) : void
delta float
return void

AddActor() public method

public AddActor ( Actor actor ) : void
actor Actor
return void

AddActorAfter() public method

public AddActorAfter ( Actor actorAfter, Actor actor ) : void
actorAfter Actor
actor Actor
return void

AddActorAt() public method

public AddActorAt ( int index, Actor actor ) : void
index int
actor Actor
return void

AddActorBefore() public method

public AddActorBefore ( Actor actorBefore, Actor actor ) : void
actorBefore Actor
actor Actor
return void

ApplyTransform() protected method

protected ApplyTransform ( GdxSpriteBatch spriteBatch, Matrix transform ) : void
spriteBatch MonoGdx.Graphics.G2D.GdxSpriteBatch
transform Matrix
return void

ChildrenChanged() protected method

protected ChildrenChanged ( ) : void
return void

Clear() public method

public Clear ( ) : void
return void

ClearChildren() public method

public ClearChildren ( ) : void
return void

ComputeTransform() protected method

protected ComputeTransform ( ) : Matrix
return Matrix

Draw() public method

public Draw ( GdxSpriteBatch spriteBatch, float parentAlpha ) : void
spriteBatch MonoGdx.Graphics.G2D.GdxSpriteBatch
parentAlpha float
return void

DrawChildren() protected method

protected DrawChildren ( GdxSpriteBatch spriteBatch, float parentAlpha ) : void
spriteBatch MonoGdx.Graphics.G2D.GdxSpriteBatch
parentAlpha float
return void

FindActor() public method

public FindActor ( string name ) : Actor
name string
return Actor

Group() public method

public Group ( ) : System
return System

Hit() public method

public Hit ( float x, float y, bool touchable ) : Actor
x float
y float
touchable bool
return Actor

LocalToDescendantCoordinates() public method

public LocalToDescendantCoordinates ( Actor descendant, Vector2 localCoords ) : Vector2
descendant Actor
localCoords Vector2
return Vector2

Print() public method

public Print ( ) : void
return void

RemoveActor() public method

public RemoveActor ( Actor actor ) : bool
actor Actor
return bool

ResetTransform() protected method

protected ResetTransform ( GdxSpriteBatch spriteBatch ) : void
spriteBatch MonoGdx.Graphics.G2D.GdxSpriteBatch
return void

SetCullingArea() public method

public SetCullingArea ( RectangleF cullingArea ) : void
cullingArea MonoGdx.Geometry.RectangleF
return void

SwapActor() public method

public SwapActor ( Actor first, Actor second ) : bool
first Actor
second Actor
return bool

SwapActor() public method

public SwapActor ( int first, int second ) : bool
first int
second int
return bool