public Derp(double x, double y, int team) { ContentManager Content = Game.game.Content; this.x = x; this.y = y; facing = direction.EAST; state = derpState.MOVING; stats = new DerpStats(10, 1, 1, 1, 0, 0, 0, 0); this.team = team; if (team == 1) graphic = Content.Load<Texture2D>(@"GameBlocks\Derp_1"); else if (team == 2) graphic = Content.Load<Texture2D>(@"GameBlocks\Derp_2"); }
public Derp(double x, double y, int team) { ContentManager Content = Game.game.Content; this.x = x; this.y = y; facing = direction.EAST; state = derpState.MOVING; stats = new DerpStats(10, 1, 1, 1, 0, 0, 0, 0); this.team = team; if (team == 1) { graphic = Content.Load <Texture2D>(@"GameBlocks\Derp_1"); } else if (team == 2) { graphic = Content.Load <Texture2D>(@"GameBlocks\Derp_2"); } }