Show / Hide Table of Contents

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 Source

Hit(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

Extension Methods

ReflectionUtilities.ReflectCallMethod(object, string, object[], BindingFlags)
ReflectionUtilities.ReflectGetField(object, string, BindingFlags)
ReflectionUtilities.ReflectGetMethod(object, string, BindingFlags)
ReflectionUtilities.ReflectGetProperty(object, string, BindingFlags)
ReflectionUtilities.ReflectSetField(object, string, object, BindingFlags)
ReflectionUtilities.ReflectSetProperty(object, string, object, BindingFlags)
  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Generated by DocFX
☀
☾