Hello, I'm new to SFML and its forum, so if this is the wrong section sorry.
I want to create a tile-based game, similar to Sokoban, for example.
I'm using C# and SFML.NET to create it. What is the best object-oriented way to create it?
---
I was thinking to have a class called Entity:
Entity(int x, int y, int z, string type)
And a class called EntityManager that contains a List<Entity>.
Then, for example, to move the player, I search in EntityManager's list an Entity with the type "player", and once I find it, I change its x to x -1.
---
Is there an easier or better way to make a Sokoban clone?