Example #1
0
 static void DrawEffect(Hitbox src, Hitbox dst)
 {
     throw new NotImplementedException();
 }
Example #2
0
 public static void Resolve(Hitbox src, Hitbox dst)
 {
     ReactionMatrix[src.CurrentType, dst.CurrentType](src, dst);
 }
Example #3
0
 public static void Resolve(Hitbox src, Hitbox dst)
 {
     ReactionMatrix[src.DefaultType, dst.DefaultType](src, dst);
 }
Example #4
0
 static void DrawEffect(Hitbox src, Hitbox dst)
 {
     // TODO(james7132): Implement
 }
Example #5
0
 /// <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));
 }
Example #6
0
 /// <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));
 }
Example #7
0
 public void Resolve()
 {
     Hitbox.Resolve(Source, Destination);
 }