I am trying to make a simple basic game by myself.
Is there an Entity Class somewhere?
I started to make an Entity Class by myself, but it strike me, to ask for one already made. I'm thinking, maybe there are some default ones?, that are usable, and i dont have to reinvent the wheel.
In my class for example, I put the folowing:
//[user:F-ES Sitecore] just helped me today with this event here - very useful !
What I have tried:
public delegate void MoveFinishedHandler();
public event MoveFinishedHandler Moving;
private Timer Timing = new Timer();
void timer_Tick(object sender, EventArgs e)
public void Render(object sender, PaintEventArgs e)
public float x = 10, y = 10, width, height;
public void Location(float X, float Y)
private void TextRenderer(object sender, PaintEventArgs e, float element)
private enum TextMode { Down, Up }
private void TextRenderer(object sender, PaintEventArgs e, float element, TextMode swichText)
public float speed = 1;
public bool showHealth;
public float health = 100;
public bool showResourceNumber;
public float storage = 100;
private float ResourceSpeed = 1;
public float ResourceLoadSpeed
public void GoTo(float X, float Y)
public void Stop()
public void Load(Entity target)
public void UnLoad(Entity target)