SFML community forums
Bindings - other languages => DotNet => Topic started by: flower on March 15, 2020, 08:45:25 am
Title:
How to handling sf::Time in C#
Post by:
flower
on
March 15, 2020, 08:45:25 am
Hello everyone,
What is the equivalent code in C# for
sf
::
Time
t3
=
sf
::
seconds
(
0.01f
)
;
I tried to set t3 initialize value as
SFML.
System
.
Time
t3
=
new
SFML.
System
.
Time
(
0.01f
)
;
but it is not working. :(
Please help, thousand thanks.
Title:
Re: How to handling sf::Time in C#
Post by:
Laurent
on
March 15, 2020, 09:30:04 am
Hi
https://github.com/SFML/SFML.Net/blob/master/src/SFML.System/Time.cs#L29
Title:
Re: How to handling sf::Time in C#
Post by:
flower
on
March 15, 2020, 10:05:26 am
Quote from: Laurent on March 15, 2020, 09:30:04 am
Hi
https://github.com/SFML/SFML.Net/blob/master/src/SFML.System/Time.cs#L29
Thank you very much!
Now I know how to look for the code in c# :)