More Related Content
Similar to Gpg study 01 (6)
Gpg study 01
- 5. |
데이터의중복
OnceandOnlyOnce
=데이터를객체단위로분할때캡슐화가필요
- 6. |
장점
다른사람(프로그래밍을모르는사람)이수정하기쉽게끔
게임을추상화함으로써데이터의변화에유연하게대처
- 8. |
소셜게임내에서의데이터드리븐
꼭필요하다!!
밸런싱요소가많음
유연성있게요소가추가되거나수정되야함
‘데이터의변화’,‘데이터엎기!’에기민한대응
- 13. |
ClassHierarchyDesign
Inheritance
Layering
Class Corvette is-a type of class Car
Class Corvette has-a type class Radio
- 14. |
SingletonPattern
장점
- 16. |
Wheneverpossible,avoidexposinginternalsubsystemclassestooutsidesystems.
- 17. |
StatePattern
OnEnter()
Dynamically switches Update()
StateManager between state and objects
BaseState
OnExit()
in real-time
State1 State2 State3
- 18. |
FactoryPattern(FactoryMethodPattern)
장점
MoveWithTeamMish
Mish
MoveUpMish
NormalMish
MishFactory