Hit.

TryHit(Hit.ITarget, bool) Method

Summary

Calls PlatformerGameKit.Hit.ITarget.ReceiveHit(PlatformerGameKit.Hit@) if the `target` can be hit by the Current.
Assembly
PlatformerGameKit.dll
Namespace
PlatformerGameKit
Containing Type
Hit

Syntax

public bool TryHit(Hit.ITarget target, bool dontHitAgain = true)

Parameters

Name Type Description
target Hit.ITarget
dontHitAgain bool

Return Value

Type Description
bool