Hit.

Hit(Transform, Team, int, float, Vector2, ICollection<Hit.ITarget>) Constructor

Summary

Creates a new PlatformerGameKit.Hit with the specified details.
Assembly
PlatformerGameKit.dll
Namespace
PlatformerGameKit
Containing Type
Hit

Syntax

public Hit(Transform source, Team team, int damage, float force, Vector2 direction, ICollection<Hit.ITarget> ignore = null)

Parameters

Name Type Description
source Transform
team Team
damage int
force float
direction Vector2
ignore ICollection<Hit.ITarget>

Return Value

Type Description
void