Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed Intermediate C#!
You have completed Intermediate C#!
Preview
We're going to continue building the Treehouse Defense game started in C# Objects. Let's refresh ourselves on the code so far.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
we have a good understanding
of it before we move on.
0:00
This is 100% review, so
I'll move through this rather quickly.
0:02
Let's start by looking at Map.cs.
0:07
This is the definition of the Map class.
0:10
A map determines the width and
height boundaries of a level.
0:13
It's constructed by passing it a width and
height value for the map.
0:16
We also have an OnMap method which can be
0:20
used to determine if
a point is on the map.
0:23
If we open Point.cs, we'll see
a definition for the Point class.
0:26
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up