fdns / Terasology

Terasology is an open source project started by Benjamin "begla" Glatzel to research procedural terrain generation and efficient rendering techniques in Java using the LWJGL. The engine uses a block-based voxel-like approach as seen in Minecraft. After proving itself as a solid tech demo begla was joined at first by Anton "small-jeeper" Kireev and Rasmus "Cervator" Praestholm and a full-fledged game concept was born. Our goal is a game that pays ample tribute to Minecraft in initial look and origin, but stakes out its own niche by adopting the NPC-helper and caretaker feel from such games as Dwarf Fortress and Dungeon Keeper, while striving for added depth and sophistication in the foundation systems akin to DF.
http://terasology.org/
Apache License 2.0
0 stars 4 forks source link

R64 - Aplicación de patrones de diseño. #107

Closed criparra closed 9 years ago

criparra commented 9 years ago

Actualmente la clase que comanda las acciones de fly mode tiene todo concentrado en ella, y por ende, se ha caído en un code smell. Se pretende un uso de strategy pattern para extraer los métodos de velocidad y modularizar su comportamiento.

criparra commented 9 years ago

Finalmente se crearon interfaces para hacer uso de polimorfismo tanto en los algoritmos, como en el cálculo de velocidades, separando las labores que antes hacía la clase FlyMode.