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 C# Objects!
You have completed C# Objects!
Preview
Objects are only useful when they work together.
This video doesn't have any notes.
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 can use these classes
together to finish the game.
0:00
We have a really nice set of classes,
but nothing ties them all together yet.
0:00
We haven't yet coded up how all these
objects work together to create a game.
0:05
So now we need to write the code for
how the game runs.
0:10
Instead of putting the code that
runs the game in the game class,
0:14
let's introduce the idea of a level.
0:17
In Treehouse Defense,
a level is composed of a map, a path, and
0:20
a number of invaders.
0:24
Then we can create different levels
with unique maps, paths, and
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