public override void HandleCollision(ColldeableObject other) { switch (other.Type) { case Constants.Block: Console.WriteLine("Hey Block!"); break; default: break; } }
public abstract void HandleCollision(ColldeableObject other);
public override void HandleCollision(ColldeableObject other) { // do nothing Console.WriteLine(string.Concat("I'm doing shit bruh ", other.GetType().ToString())); }