12 lines
298 B
C#
12 lines
298 B
C#
using Terraria;
|
|
|
|
namespace Decimation.Lib.Util
|
|
{
|
|
public static class ProjectileUtils
|
|
{
|
|
public static bool BehindTiles(this Projectile projectile)
|
|
{
|
|
return Main.tile[(int) projectile.position.X, (int) projectile.position.Y].type == -1; // TODO ?
|
|
}
|
|
}
|
|
} |