blob: 3087865724c330efbf6483c62403ddcd5f7bf317 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
using Celesteia.Game.ECS;
namespace Celesteia.Game.Components.Entity {
public class GameWorldEntity {
private GameWorld _w;
private int _id;
public GameWorldEntity(GameWorld w, int id) {
_w = w;
_id = id;
}
public void Destroy() => _w.DestroyEntity(_id);
}
}
|