public static FlyHandler GetInstance() { if ( instance == null ) { instance = new FlyHandler(); Player.PlacingBlock += new EventHandler<Events.PlayerPlacingBlockEventArgs>( Player_Clicked ); } return instance; }
public static FlyHandler GetInstance() { if (instance == null) { instance = new FlyHandler(); Player.PlacingBlock += new EventHandler <Events.PlayerPlacingBlockEventArgs>(Player_Clicked); } return(instance); }
public static FlyHandler GetInstance() { if (instance == null) { instance = new FlyHandler(); Player.Moved += new EventHandler<Events.PlayerMovedEventArgs>(Player_Moved); } return instance; }