Game Programming Class9

esse quam videri
Revision as of 19:13, 30 March 2009 by Jeff (talk | contribs) (Strategy Pattern)
Jump to: navigation, search

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

My screen manager implements the strategy pattern.

http://www.dofactory.com/Patterns/PatternStrategy.aspx

Screen Manager

In class demo IntroScreenz.zip

Homework

Add screen to 2D Game