Esempio n. 1
0
 /// <summary>
 /// Initializes this instance of <see cref="PointerManager"/> class.
 /// </summary>
 /// <exception cref="NotSupportedException">Is thrown when this functionality is not supported on current platform</exception>
 public void Initialize()
 {
     // TODO: assume Initialize is called only once. Implement cleanup in case if it is called several times.
     platform = ToDispose(PointerPlatform.Create(game.Window.NativeWindow, this));
 }
Esempio n. 2
0
 /// <summary>
 /// Initializes this instance of <see cref="PointerManager"/> class.
 /// </summary>
 /// <exception cref="NotSupportedException">Is thrown when this functionality is not supported on current platform</exception>
 public void Initialize()
 {
     // TODO: assume Initialize is called only once. Implement cleanup in case if it is called several times.
     platform =  ToDispose(PointerPlatform.Create(game.Window.NativeWindow, this));
 }