Design Pattern Riddle #5

q. Some say that I have schizophrenia;
I change my behavior depending on my mood.
You might think I am someone else,
But I’m just a class with an attitude!

a. State

~/riddle by me