The object will appear to change its class”. How State pattern works? 1. Define an object that represent various states that object can be. Remember state.
確定! 回上一頁