public static bool InNetFrame(this Hockeyist me) { Player p = Get <World> .Current().GetMyPlayer(); return(me.Y < p.NetBottom && me.Y > p.NetTop); }
public static bool OwnsThePuck(this Hockeyist me) { var w = Get <World> .Current(); return(w.Puck.OwnerHockeyistId == me.Id); }