public DerpAttack(double x, double y, int dir) { this.x = x; this.y = y; this.dir = dir; key = new SortKey(y); graphic = textures["small-close"]; graphicInfo = textureInfo["small-close"]; lastTick = DateTime.Now; }
public DerpStats(int hp, int spd, int atk, int aspd, int rng, int width, int height) { this.hp = hp; this.spd = spd; this.atk = atk; this.aspd = aspd; this.rng = rng; this.width = width; this.height = height; radius = Math.Max(width / 2, height / 2); key = new SortKey(spd); }