C# Class PantheonPrototype.OldManFriend

Inheritance: FriendNPC
Exibir arquivo Open project: Bacon41/PantheonPrototype

Public Methods

Method Description
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

Method Details

Draw() public method

Draw the OLD MAN.
public Draw ( SpriteBatch spriteBatch ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
return void

Interact() public method

Runs the NPC's interaction
public Interact ( ) : void
return void

Load() public method

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.
return void

OldManFriend() public method

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!
return System

Update() public method

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.
return void