Creating An Instance of Your Player

From TRCCompSci - AQA Computer Science
Revision as of 11:06, 18 March 2017 by Admin (talk | contribs) (Created page with "You should at this stage have a Player class created and defined. The next stage is to create an instance of the class (the class is a definition similar to a class of Human,...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

You should at this stage have a Player class created and defined. The next stage is to create an instance of the class (the class is a definition similar to a class of Human, you are an instance of the class human).

Create a Player

In order to be able to use the Player class we need to add the following into the using section of your Game1.cs file.