Chillu1/ModiBuff

Split IUnit/Interface segregation principle

Closed this issue · 1 comments

Split IUnit into many interfaces, to not force the user to implement all of them.

Without excessive casting, or code generation.

Decided on excessive casting, probably worth that 20% performance cost over dead code in user unit class.