C# Класс PantheonPrototype.ButterflyEnemy

Наследование: EnemyNPC
Показать файл Открыть проект

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

Метод Описание
ButterflyEnemy ( Vector2 location, Microsoft.Xna.Framework.Content.ContentManager Content ) : System

The constructor for the Butterfly enemy, currently just sets up the base class.

Draw ( SpriteBatch canvas ) : void

DRAW THE BUTTERFULLYMONK

Load ( Microsoft.Xna.Framework.Content.ContentManager contentManager ) : void

Load the butterfly.

Update ( GameTime gameTime, Pantheon gameReference ) : void

UPDATE THE BUTTERFLY CLASS FOR THE WIN

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

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

The constructor for the Butterfly enemy, currently just sets up the base class.
public ButterflyEnemy ( Vector2 location, Microsoft.Xna.Framework.Content.ContentManager Content ) : System
location Vector2 The initial position of the Butterfly.
Content Microsoft.Xna.Framework.Content.ContentManager
Результат System

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

DRAW THE BUTTERFULLYMONK
public Draw ( SpriteBatch canvas ) : void
canvas Microsoft.Xna.Framework.Graphics.SpriteBatch An initialized SpriteBatch.
Результат void

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

Load the butterfly.
public Load ( Microsoft.Xna.Framework.Content.ContentManager contentManager ) : void
contentManager Microsoft.Xna.Framework.Content.ContentManager So you can load things with the pipeline.
Результат void

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

UPDATE THE BUTTERFLY CLASS FOR THE WIN
public Update ( GameTime gameTime, Pantheon gameReference ) : void
gameTime Microsoft.Xna.Framework.GameTime The game time object for letting you know how old you've gotten since starting the game.
gameReference Pantheon Game reference of doom
Результат void