add unity project
add SOLID examples
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
namespace DefaultNamespace.Solid
|
||||
{
|
||||
public interface IShooter
|
||||
{
|
||||
void Fire();
|
||||
|
||||
// BAD IDEA - segregate interfaces
|
||||
// void ApplyEffect();
|
||||
// void Explode();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user