public BulletStyle MakeStyle(string s, PhysicsShape p, GraphicsStyle sty) { BulletStyle ans = (t, path, pc) => { return(new Bullet(t, path, p.MakeDrawable(sty), p, pc, null)); }; savedStyles[s] = ans; return(ans); }
public Entity(double cTime, Particle pos, PhysicsShape physS, GraphicsStyle g, EntityClass pc, BulletEmitter e = null) : this(cTime, pos, physS.MakeDrawable(g), physS, pc, e, g) { }
public EntityType(Trajectory t, PhysicsShape physS, GraphicsStyle g, EntityClass pc, BulletEmitter e = null) : this(t, physS.MakeDrawable(g), physS, pc, e, g) { }