public static Entity Particle(Entity entity, World world, Vector2 position) { //SpriteComponent sprite = new SpriteComponent("particle"); PositionComponent pos = new PositionComponent(position); //ParticleComponent particle = new ParticleComponent(pos, world, sprite); //sprite.Tint = Color.Yellow; //particle.Size = 5; entity.Add(pos); return entity; }
public static Entity Title(Entity entity, World world, Vector2 position) { entity.Add(new GUIRenderableComponent("title"), new PositionComponent(position)); return entity; }
public static Entity NepetaSprite(Entity entity, World world, Vector2 position) { entity.Add(new PositionComponent(position), new SpriteComponent("l")); return entity; }