Exemple #1
0
        public static FlyHandler GetInstance()
        {
            if ( instance == null ) {
                instance = new FlyHandler();
                Player.PlacingBlock += new EventHandler<Events.PlayerPlacingBlockEventArgs>( Player_Clicked );
            }

            return instance;
        }
Exemple #2
0
        public static FlyHandler GetInstance()
        {
            if (instance == null)
            {
                instance             = new FlyHandler();
                Player.PlacingBlock += new EventHandler <Events.PlayerPlacingBlockEventArgs>(Player_Clicked);
            }

            return(instance);
        }
Exemple #3
0
        public static FlyHandler GetInstance()
        {
            if (instance == null)
            {
                instance = new FlyHandler();
                Player.Moved += new EventHandler<Events.PlayerMovedEventArgs>(Player_Moved);
            }

            return instance;
        }