static void DrawEffect(Hitbox src, Hitbox dst) { throw new NotImplementedException(); }
public static void Resolve(Hitbox src, Hitbox dst) { ReactionMatrix[src.CurrentType, dst.CurrentType](src, dst); }
public static void Resolve(Hitbox src, Hitbox dst) { ReactionMatrix[src.DefaultType, dst.DefaultType](src, dst); }
static void DrawEffect(Hitbox src, Hitbox dst) { // TODO(james7132): Implement }
/// <summary> Deletes a hitbox from the Event data. </summary> /// <param name="hitbox"> the target hitbox to remove from the set </param> /// <returns> whether the hitbox was successfully removed or not </returns> /// <exception cref="ArgumentNullException"> <paramref name="hitbox" /> is null </exception> public bool DeleteHitbox(Hitbox hitbox) { return(DeleteID(Argument.NotNull(hitbox).ID)); }
/// <summary> Adds a Hitbox to the set. </summary> /// <param name="hitbox"> the Hitbox to add. </param> /// <returns> whether the element was added or not </returns> /// <exception cref="ArgumentNullException"> <paramref name="hitbox" /> is null </exception> public bool AddHitbox(Hitbox hitbox) { Argument.NotNull(hitbox); return(AddID(hitbox.ID, hitbox.DefaultType)); }
public void Resolve() { Hitbox.Resolve(Source, Destination); }