1 package nl.tudelft.pogamut.ut2004.agent.module.shooting.weapon;
2
3 import cz.cuni.amis.pogamut.ut2004.agent.module.sensomotoric.Weaponry;
4 import cz.cuni.amis.pogamut.ut2004.agent.module.sensor.AgentInfo;
5 import cz.cuni.amis.pogamut.ut2004.agent.module.sensor.WeaponPref;
6 import cz.cuni.amis.pogamut.ut2004.bot.command.ImprovedShooting;
7 import cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004Bot;
8 import cz.cuni.amis.pogamut.ut2004.communication.messages.UT2004ItemType;
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26 public class SniperRifleShooting extends LigthningGunShooting {
27
28 protected static final WeaponPref DEFAULT_WEAPON_PREF = new WeaponPref(UT2004ItemType.SNIPER_RIFLE, true);
29
30 public SniperRifleShooting(UT2004Bot<?, ?, ?> agent, AgentInfo info, ImprovedShooting shoot, Weaponry weaponry) {
31 super(agent, info, shoot, weaponry);
32 }
33
34 @Override
35 protected WeaponPref getDefaultWeaponPref() {
36 return DEFAULT_WEAPON_PREF;
37 }
38
39
40
41 }