Difference between revisions of "Creating An Instance of Your Player"

From TRCCompSci - AQA Computer Science
Jump to: navigation, search
(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,...")
(No difference)

Revision as of 10:06, 18 March 2017

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.