コード例 #1
0
        public static bool InNetFrame(this Hockeyist me)
        {
            Player p = Get <World> .Current().GetMyPlayer();

            return(me.Y < p.NetBottom && me.Y > p.NetTop);
        }
コード例 #2
0
        public static bool OwnsThePuck(this Hockeyist me)
        {
            var w = Get <World> .Current();

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