C# Class Zeplin.Actor

Defines an interactive component in the game world
Inheritance: Sprite
Exibir arquivo Open project: zumpiez/Zeplin

Public Methods

Method Description
Actor ( Image sprite, Transformation transformation ) : System

An Actor can be drawn on screen, translated around arbitrarily, collide with other game objects, and process update logic every frame.

Actor ( Image sprite, Transformation transformation, Zeplin.CollisionShapes.SATCollisionVolume collider ) : System

An Actor can be drawn on screen, translated around arbitrarily, collide with other game objects, and process update logic every frame.

Draw ( GameTime gameTime ) : void

This is called for you once per map draw by Zeplin.

Method Details

Actor() public method

An Actor can be drawn on screen, translated around arbitrarily, collide with other game objects, and process update logic every frame.
public Actor ( Image sprite, Transformation transformation ) : System
sprite Image The artwork the actor will use during Draw.
transformation Transformation Positioning information.
return System

Actor() public method

An Actor can be drawn on screen, translated around arbitrarily, collide with other game objects, and process update logic every frame.
public Actor ( Image sprite, Transformation transformation, Zeplin.CollisionShapes.SATCollisionVolume collider ) : System
sprite Image The artwork the actor will use during Draw.
transformation Transformation Positioning information.
collider Zeplin.CollisionShapes.SATCollisionVolume A collision shape that mirrors the transformation.
return System

Draw() public method

This is called for you once per map draw by Zeplin.
public Draw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void