コード例 #1
0
 public AsteroidModel(Asteroid ast, Vector3 scale, Game1 game, Model model)
     : base()
 {
     //note - small 0.2, mid 0.4, large 1.2
     this.ast = ast;
     this.pos = ast.pos;
     this.rot = ast.rot;
     this.scale = scale;
     this.game = game;
     this.model = model;
 }
コード例 #2
0
 public void addAsteroid(Asteroid a)
 {
     toAdd.Add(a);
 }
コード例 #3
0
 public void addToDelete(Asteroid a)
 {
     toDelete.Add(a);
 }