Aktuelle Version der DefaultGui
This commit is contained in:
28
DefaultGui/test/Entity.cs
Normal file
28
DefaultGui/test/Entity.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Frontend
|
||||
{
|
||||
public class Entity : IPositionable
|
||||
{
|
||||
int x, y;
|
||||
public Entity(int x, int y)
|
||||
{
|
||||
this.x = x;
|
||||
this.y = y;
|
||||
}
|
||||
|
||||
public int getXPosition()
|
||||
{
|
||||
return this.x;
|
||||
}
|
||||
|
||||
public int getYPosition()
|
||||
{
|
||||
return this.y;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user