Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Window.isOpen() not available for C# ?  (Read 3036 times)

0 Members and 1 Guest are viewing this topic.

Falke88

  • Jr. Member
  • **
  • Posts: 74
    • View Profile
Window.isOpen() not available for C# ?
« on: August 10, 2014, 12:08:43 am »
Am just going through the API and found out that in C# I cant receive any isOpen() Method from Window Class :/ what am I msising here?


greets

G.

  • Hero Member
  • *****
  • Posts: 1593
    • View Profile
Re: Window.isOpen() not available for C# ?
« Reply #1 on: August 10, 2014, 12:26:51 am »
And IsOpen?

zsbzsb

  • Hero Member
  • *****
  • Posts: 1409
  • Active Maintainer of CSFML/SFML.NET
    • View Profile
    • My little corner...
    • Email
Re: Window.isOpen() not available for C# ?
« Reply #2 on: August 10, 2014, 02:14:57 am »
Or did you even bother to check the documentation? Or for that matter look at available members with the object browser?

If you are using SFML.NET 2.1 it is a function named IsOpen() and if you are using the latest master it has been changed to a readonly function IsOpen.
Motion / MotionNET - Complete video / audio playback for SFML / SFML.NET

NetEXT - An SFML.NET Extension Library based on Thor

 

anything