Cleanup in transforms and add projectile.getInteracting() transform (#165)
* Cleanup in transforms and add projectile.getInteracting transform Move whitespace out of string blocks Remove unused method from transform.java Use throws for transform methods, and catch the exceptions in modify() More whitespace between instructions to improve readability * Api changes for projectile.getInteracting, mixin for ref
This commit is contained in:
@@ -37,6 +37,13 @@ public interface Projectile extends Renderable
|
||||
*/
|
||||
int getId();
|
||||
|
||||
/**
|
||||
* Gets the actor that is targeted by this projectile.
|
||||
*
|
||||
* @return the target actor, or null if this projectile is an AoE attack
|
||||
*/
|
||||
Actor getInteracting();
|
||||
|
||||
/**
|
||||
* Gets the original x-axis coordinate that this projectile started from.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user