Moved projectile-related classes to their own namespace

This commit is contained in:
Dylan K. Taylor
2017-10-19 12:27:44 +01:00
parent 55de75b914
commit 584810780a
18 changed files with 23 additions and 16 deletions

View File

@ -27,7 +27,7 @@ use pocketmine\entity\Creature;
use pocketmine\entity\Entity;
use pocketmine\entity\Human;
use pocketmine\entity\Item;
use pocketmine\entity\Projectile;
use pocketmine\entity\projectile\Projectile;
use pocketmine\entity\Vehicle;
/**

View File

@ -25,7 +25,7 @@ namespace pocketmine\event\entity;
use pocketmine\entity\Entity;
use pocketmine\entity\Living;
use pocketmine\entity\Projectile;
use pocketmine\entity\projectile\Projectile;
use pocketmine\event\Cancellable;
use pocketmine\item\Item;

View File

@ -27,7 +27,7 @@ use pocketmine\entity\Creature;
use pocketmine\entity\Entity;
use pocketmine\entity\Human;
use pocketmine\entity\Item;
use pocketmine\entity\Projectile;
use pocketmine\entity\projectile\Projectile;
use pocketmine\entity\Vehicle;
use pocketmine\level\Position;

View File

@ -23,7 +23,7 @@ declare(strict_types=1);
namespace pocketmine\event\entity;
use pocketmine\entity\Projectile;
use pocketmine\entity\projectile\Projectile;
class ProjectileHitEvent extends EntityEvent{
public static $handlerList = null;

View File

@ -23,7 +23,7 @@ declare(strict_types=1);
namespace pocketmine\event\entity;
use pocketmine\entity\Projectile;
use pocketmine\entity\projectile\Projectile;
use pocketmine\event\Cancellable;
class ProjectileLaunchEvent extends EntityEvent implements Cancellable{

View File

@ -23,7 +23,7 @@ declare(strict_types=1);
namespace pocketmine\event\inventory;
use pocketmine\entity\Arrow;
use pocketmine\entity\projectile\Arrow;
use pocketmine\event\Cancellable;
use pocketmine\inventory\Inventory;