David Schwartz
825d4f9702
Location cleanup ( #1380 )
...
There's no sense rewriting code that the parent constructor already implements.
2017-09-12 12:18:35 +01:00
Dylan K. Taylor
741394dab1
Typehinted up entity API
...
Did you guys think ALPHA7 changes were done?!
Sone stuff still needs some work, most notably data-properties can't be typed yet because they are just mushed into a couple of methods.
2017-08-16 19:04:30 +01:00
Dylan K. Taylor
ecba80fd63
Fixed some trailing whitespace
...
$ shopt -s globstar
$ sed -i 's/[ \t]*$//' src/pocketmine/*/**.php
:P
2017-08-05 21:07:21 +01:00
Dylan K. Taylor
c3b8be3f60
and more typehints
2017-07-14 10:56:51 +01:00
Muqsit Rayyan
b8a30309bb
Improve checks for Position::equals() and Location::equals() ( #929 )
...
* Add files via upload
* Position::$level can be null.
* Use getLevel() in place of $level
because of WeakPosition.
2017-07-04 20:25:25 +01:00
Dylan K. Taylor
51b0673b4b
Bite the bullet and enable strict types on everything
2017-06-07 12:53:16 +01:00
Matt
f0d12a0b30
Implemented asVector3(), asPosition() and asLocation()
...
Squash merge, closes #973
2017-06-07 16:40:45 +08:00
Dylan K. Taylor
9004417456
Fixed file headers ( #255 )
2017-01-13 16:57:05 +00:00
SOFe
175dd0efa6
PhpStorm inspections
...
Fixed some minor bugs and dropped some obsolete code
pocketmine\level\generator namespace is ignored in this commit
2016-12-14 21:49:35 +00:00
PEMapModder
24c1e6880d
Added Location::fromObject(Vector3, Level, yaw, pitch)
2015-05-30 12:46:40 +08:00
64FF00
afa9acf22f
OH-GAWD-WHY
2015-02-05 19:30:52 +09:00
PEMapModder
2f8c281a2e
Added Location::__toString()
2015-02-05 18:00:25 +08:00
Shoghi Cervantes
43a97c407d
New PlayerMoveEvent, improved player movement event firing
2014-10-14 16:10:50 +02:00