2014-08-23 13:18:53 +03:00
|
|
|
package com.iluwatar;
|
|
|
|
|
|
|
|
public class ProjectileStrategy implements DragonSlayingStrategy {
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void execute() {
|
2014-10-08 13:42:12 +01:00
|
|
|
System.out
|
|
|
|
.println("You shoot the dragon with the magical crossbow and it falls dead on the ground!");
|
2014-08-23 13:18:53 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|