Ejemplo n.º 1
0
        public static bool InNetFrame(this Hockeyist me)
        {
            Player p = Get <World> .Current().GetMyPlayer();

            return(me.Y < p.NetBottom && me.Y > p.NetTop);
        }
Ejemplo n.º 2
0
        public static bool OwnsThePuck(this Hockeyist me)
        {
            var w = Get <World> .Current();

            return(w.Puck.OwnerHockeyistId == me.Id);
        }