Design Pattern – state pattern May 18, 2012 ~ James Wu ~ Leave a comment State pattern is to help object to control their behaviours by changing their internal state