zeithrold / md5-fight-core

The md5-fight's core.
BSD 3-Clause "New" or "Revised" License
1 stars 0 forks source link

Object's setters work, yet getters don't work #1

Open zeithrold opened 3 years ago

zeithrold commented 3 years ago

Something strange happened to me in in test progress. https://github.com/zeithrold/md5-fight-core/commit/55b4616f687e670e41247b2a845569fd873f80fa The PlayerProperty's setter just works, with its child classes calling its setter to reference upper class's setter. While, the PlayerProperty's getter don't work, so I have to use internal value directly. So, why?

zeithrold commented 3 years ago

It's actually not a serious problem for users, but really painful for me to code 😢