public Planet Create(PlanetGameEnvironment environment, Vector2 position, float radius)
 {
     return(new RepellingPlanet(environment, position, radius));
 }
 public RepellingPlanet(PlanetGameEnvironment env, Vector2 position, float radius)
     : base(env, position, radius)
 {
 }
 public OrdinaryPlanet(PlanetGameEnvironment env, Vector2 position, float radius)
     : base(env, position, radius)
 {
 }
Example #4
0
 public Jumper(PlanetGameEnvironment env, Vector2 position)
     : base(env)
 {
     this.position = position;
     this.velocity = new Vector2(200, 0);
 }