complete project with 4x4 table function

This commit is contained in:
4.E Zatko Dominik 2025-10-01 10:45:43 +02:00
parent ae3370ac44
commit 9cb42200f3
130 changed files with 3706 additions and 2 deletions

View file

@ -0,0 +1,25 @@
namespace ChaserLibrary
{
public abstract class Entity
{
public IPaintable? Painter { get; set; }
public double X { get; private set; }
public double Y { get; private set; }
public double VelocityX { get; set; }
public double VelocityY { get; set; }
public Entity(double x, double y)
{
X = x;
Y = y;
}
public void Move()
{
X += VelocityX;
Y += VelocityY;
}
public abstract void Update();
public abstract void Draw();
}
}