MCPcopy Create free account
hub / github.com/bwapi/bwapi / BulletImpl

Class BulletImpl

bwapi/include/BWAPI/Client/BulletImpl.h:11–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9 typedef PlayerInterface *Player;
10
11 class BulletImpl : public BulletInterface
12 {
13 private:
14 const BulletData* self;
15 int index;
16 public:
17
18 BulletImpl(int index);
19 virtual int getID() const override;
20 virtual bool exists() const override;
21 virtual Player getPlayer() const override;
22 virtual BulletType getType() const override;
23 virtual Unit getSource() const override;
24 virtual Position getPosition() const override;
25 virtual double getAngle() const override;
26 virtual double getVelocityX() const override;
27 virtual double getVelocityY() const override;
28 virtual Unit getTarget() const override;
29 virtual Position getTargetPosition() const override;
30 virtual int getRemoveTimer() const override;
31 virtual bool isVisible(Player player = nullptr) const override;
32 };
33}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected