summaryrefslogtreecommitdiff
path: root/GameCode/ProjectileHitSurface.cs
diff options
context:
space:
mode:
Diffstat (limited to 'GameCode/ProjectileHitSurface.cs')
-rw-r--r--GameCode/ProjectileHitSurface.cs12
1 files changed, 12 insertions, 0 deletions
diff --git a/GameCode/ProjectileHitSurface.cs b/GameCode/ProjectileHitSurface.cs
new file mode 100644
index 0000000..04ae8f6
--- /dev/null
+++ b/GameCode/ProjectileHitSurface.cs
@@ -0,0 +1,12 @@
+using UnityEngine;
+
+public abstract class ProjectileHitSurface : MonoBehaviour
+{
+ public enum HasToStop
+ {
+ HasToStop,
+ CanKeepGoing
+ }
+
+ public abstract HasToStop HitSurface(HitInfo hit, GameObject projectile);
+}