Skip to content

refactoring of jMonkeyEngine - Jaroslav Ševčík, Pawel Stępień#10

Closed
Jarda8 wants to merge 1 commit intodelftsre:masterfrom
pstepien-labs:master
Closed

refactoring of jMonkeyEngine - Jaroslav Ševčík, Pawel Stępień#10
Jarda8 wants to merge 1 commit intodelftsre:masterfrom
pstepien-labs:master

Conversation

@Jarda8
Copy link
Copy Markdown

@Jarda8 Jarda8 commented Apr 10, 2016

Tests for initialize method from TextureUtil class, where SRP problem
was found. Fixed SRP problem in TextureUtil class by creating
new class StringBuilderForTextureUtil with static method.

NativeObject class and NativeObjectManager class Unit tests before
fixing.

OCP shortcomming fixed

ListSort gallop methods refactored + relevant tests

EffectTrack dependency on ParticleEmitter broken, findEmitter() modified + relevant tests

Several new interfaces created

  • Controllable
  • Writable
  • ISpatial,
  • IParticleEmitter

method findEmitter in EffectTrack class refactored to use polymorphism
instead of testing for class type -> method findEmitter added to
Spatial, Node and ParticleEmitter

Tests for initialize method from TextureUtil class, where SRP problem
was found. Fixed SRP problem in TextureUtil class by creating
new class StringBuilderForTextureUtil with static method.

NativeObject class and NativeObjectManager class Unit tests before
fixing.

OCP shortcomming fixed

ListSort gallop methods refactored + relevant tests

EffectTrack dependency on ParticleEmitter broken, findEmitter() modified + relevant tests

Several new interfaces created
- Controllable
- Writable
- ISpatial,
- IParticleEmitter

method findEmitter in  EffectTrack class refactored to use polymorphism
instead of testing for class type -> method findEmitter added to
Spatial, Node and ParticleEmitter
@Jarda8 Jarda8 closed this Feb 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant