예제 #1
0
        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);
        }
예제 #2
0
 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)
 {
 }
예제 #3
0
 public EntityType(Trajectory t, PhysicsShape physS, GraphicsStyle g, EntityClass pc, BulletEmitter e = null)
     : this(t, physS.MakeDrawable(g), physS, pc, e, g)
 {
 }