11 lines
196 B
C#
11 lines
196 B
C#
namespace Solid.Interfaces
|
|
{
|
|
public interface IShooter
|
|
{
|
|
void Fire();
|
|
|
|
// BAD IDEA => segregate interfaces
|
|
// void ApplyEffect();
|
|
// void Explode();
|
|
}
|
|
} |