C# Класс Zeplin.Actor

Defines an interactive component in the game world
Наследование: Sprite
Показать файл Открыть проект

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

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

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

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

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

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

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

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

This is called for you once per map draw by Zeplin.
public Draw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
Результат void