Game Programming Class10

esse quam videri
Revision as of 03:55, 29 March 2010 by Jeff (talk | contribs) (Created page with '==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 to…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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