1
DotNet / Re: C# Documents and Tutorials SFML?
« on: March 07, 2014, 05:26:15 pm »
Here you go
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SFML;
using SFML.Graphics;
namespace SFML.Net_Test
{
class Program
{
static void Main()
{
RenderWindow window = new RenderWindow(new Window.VideoMode(200,200), "test");
CircleShape cs = new CircleShape(100.0f);
cs.FillColor = Color.Green;
window.SetActive();
while (win.IsOpen())
{
window.Clear();
window.DispatchEvents();
window.Draw(cs);
window.Display();
}
}
}
}
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SFML;
using SFML.Graphics;
namespace SFML.Net_Test
{
class Program
{
static void Main()
{
RenderWindow window = new RenderWindow(new Window.VideoMode(200,200), "test");
CircleShape cs = new CircleShape(100.0f);
cs.FillColor = Color.Green;
window.SetActive();
while (win.IsOpen())
{
window.Clear();
window.DispatchEvents();
window.Draw(cs);
window.Display();
}
}
}
}