Difference between revisions of "Game Programming Class9"
esse quam videri
(→Screen Manager) |
|||
Line 19: | Line 19: | ||
http://www.csharpfriends.com/Articles/getArticle.aspx?articleID=65 | http://www.csharpfriends.com/Articles/getArticle.aspx?articleID=65 | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ==Strategy Pattern== | ||
+ | |||
+ | http://www.dofactory.com/Patterns/PatternStrategy.aspx | ||
Revision as of 19:13, 30 March 2009
Review Midterm Games
Inclass look @ 2d games
Stacks
c# stacks are LIFO
FIFO
- First-In-First-Out
LIFO
- Last-In-First-Out
pop
- removed last object added to the stack
push
- push an object onto the stack
peek
- shows to top object on the stack
http://www.csharpfriends.com/Articles/getArticle.aspx?articleID=65
Strategy Pattern
http://www.dofactory.com/Patterns/PatternStrategy.aspx
Screen Manager
In class demo IntroScreenz.zip
Homework
Add screen to 2D Game