//SpaceGame MyGame; public SpaceThing(Point worldSize) { margin = 50; verts = new List <Point>(); verts = new List <Point>(); moving = new Vector(1.1, 0.0); upperLeft = new Point(0, 0); rotationMatrix = new Matrix(); rotationSpeed = 0; ScorePayout = 0; Spawner = new SmallSpawnStrategy(); this.worldSize = worldSize; //sl = new Asteroids.SpaceLine(); //this.MakeBigAsteroid(); }
public void SetSpawner(SpaceSpawnStrategy s) { Spawner = s; }