Created
August 13, 2014 10:06
-
-
Save Kha/fe6a1593848b0fd04093 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class MatchVariants : TowerFall.MatchVariants | |
{ | |
public Variant NoHeadBounce; | |
} | |
public class Player : TowerFall.Player | |
{ | |
public override void BouncedOn(TowerFall.Player bouncer) | |
{ | |
if (!((MatchVariants)Level.Session.MatchSettings.Variants).NoHeadBounce) | |
base.BouncedOn(bouncer); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment