1
General / using #include <Rect.hpp> in C# and Collisition between two Rect´s
« on: April 19, 2017, 05:02:30 pm »
Hi Guys,
i have to programm Pong for my university. The challenge is, that it has to been done in c#. Unfortunately, I have my problems to convert the examples from c++ to c#. I found thsi great page:
https://www.sfml-dev.org/documentation/2.4.2/classsf_1_1Rect.php
I´d like to use them, but i don´t get it, how i could use it in c#
How could i include Rect in c# and how could i use intersects() in c#
I hope my englisch is not soooo bad ^^
i have to programm Pong for my university. The challenge is, that it has to been done in c#. Unfortunately, I have my problems to convert the examples from c++ to c#. I found thsi great page:
https://www.sfml-dev.org/documentation/2.4.2/classsf_1_1Rect.php
I´d like to use them, but i don´t get it, how i could use it in c#
How could i include Rect in c# and how could i use intersects() in c#
I hope my englisch is not soooo bad ^^