C# Class Platformer.Tiles.Activator

Afficher le fichier Open project: zmthy/play-dead

Protected Properties

Свойство Type Description
activated Microsoft.Xna.Framework.Graphics.Texture2D
deactivated Microsoft.Xna.Framework.Graphics.Texture2D
on System.Boolean
origin Vector2
position Vector2

Méthodes publiques

Méthode Description
Activator ( Vector2 location ) : System
ChangeState ( Player c, KeyboardState keyState, InputManager inputManager ) : void
Draw ( GameTime gameTime, SpriteBatch spriteBatch ) : void
add ( IActivatable responder ) : void
remove ( IActivatable responder ) : void

Method Details

Activator() public méthode

public Activator ( Vector2 location ) : System
location Vector2
Résultat System

ChangeState() public abstract méthode

public abstract ChangeState ( Player c, KeyboardState keyState, InputManager inputManager ) : void
c Platformer.Player
keyState Microsoft.Xna.Framework.Input.KeyboardState
inputManager Platformer.InputManager
Résultat void

Draw() public méthode

public Draw ( GameTime gameTime, SpriteBatch spriteBatch ) : void
gameTime Microsoft.Xna.Framework.GameTime
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
Résultat void

add() public méthode

public add ( IActivatable responder ) : void
responder IActivatable
Résultat void

remove() public méthode

public remove ( IActivatable responder ) : void
responder IActivatable
Résultat void

Property Details

activated protected_oe property

protected Texture2D,Microsoft.Xna.Framework.Graphics activated
Résultat Microsoft.Xna.Framework.Graphics.Texture2D

deactivated protected_oe property

protected Texture2D,Microsoft.Xna.Framework.Graphics deactivated
Résultat Microsoft.Xna.Framework.Graphics.Texture2D

on protected_oe property

protected Boolean,System on
Résultat System.Boolean

origin protected_oe property

protected Vector2 origin
Résultat Vector2

position protected_oe property

protected Vector2 position
Résultat Vector2