Interface IHittable
Interface for anything that the player can hit
Namespace: WeaverCore.Interfaces
Assembly: WeaverCore.dll
Syntax
public interface IHittable
Methods
| Edit this page View SourceHit(HitInfo)
Called when the player hits the object
Declaration
bool Hit(HitInfo hit)
Parameters
| Type | Name | Description |
|---|---|---|
| HitInfo | hit | Information about how the player hit the object |
Returns
| Type | Description |
|---|---|
| bool | Returns whether the hit was a valid hit or not |