C# Класс PantheonPrototype.OldManFriend

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

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

Метод Описание
Draw ( SpriteBatch spriteBatch ) : void

Draw the OLD MAN.

Interact ( ) : void

Runs the NPC's interaction

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

Load the old man NPC.

OldManFriend ( Vector2 location ) : System

The constuctor for the OldMan NPC character. Takes care of setting up the NPCCharacter base class.

Update ( GameTime gameTime, Pantheon gameReference ) : void

Updates the OLDE MAN

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

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

Draw the OLD MAN.
public Draw ( SpriteBatch spriteBatch ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
Результат void

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

Runs the NPC's interaction
public Interact ( ) : void
Результат void

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

Load the old man NPC.
public Load ( Microsoft.Xna.Framework.Content.ContentManager contentManager ) : void
contentManager Microsoft.Xna.Framework.Content.ContentManager Read the parameter name... that's what it is.
Результат void

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

The constuctor for the OldMan NPC character. Takes care of setting up the NPCCharacter base class.
public OldManFriend ( Vector2 location ) : System
location Vector2 The initial location of the Old Man!
Результат System

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

Updates the OLDE MAN
public Update ( GameTime gameTime, Pantheon gameReference ) : void
gameTime Microsoft.Xna.Framework.GameTime SHOWS JUST HOW OLD OF A MAN HE IS.
gameReference Pantheon THE OLD MAN NEEDS NO SUCH REFERENCE BECAUSE HE ALREADY HAS THE WISDOM OF THE UNIVERSE.
Результат void