예제 #1
0
 public override void Load()
 {
     basicPrim = new BasicPrimitives(Screen.ScreenManager.GraphicsDevice);
 }
예제 #2
0
 public DrawPrims(GameplayScreen screen)
     : base(screen)
 {
     basicPrim = null;
 }
예제 #3
0
 public override void Submit(BasicPrimitives basicPrim)
 {
     basicPrim.CreateCircle(center, radius, 64);
     basicPrim.Colour = color;
 }
예제 #4
0
 public override void Submit(BasicPrimitives basicPrim)
 {
     basicPrim.CreateLine(new Vector2(x1, y1), new Vector2(x2, y2));
     basicPrim.Colour = color;
 }
예제 #5
0
 public abstract void Submit(BasicPrimitives basicPrim);