18 lines
373 B
Ruby
18 lines
373 B
Ruby
module Mutant
|
|
class Strategy
|
|
# Static strategies
|
|
class Static < self
|
|
|
|
# Always fail to kill strategy
|
|
class Fail < self
|
|
KILLER = Killer::Static::Fail
|
|
end # Fail
|
|
|
|
# Always succeed to kill strategy
|
|
class Success < self
|
|
KILLER = Killer::Static::Success
|
|
end # Success
|
|
|
|
end # Static
|
|
end # Strategy
|
|
end # Mutant
|