state pattern

/S T EY1 T P AE0 T ER0 N/
noun
  1. 1

    (software, design) A behavioural design pattern similar to the strategy pattern that is used to represent the state of an object.