public Bullet(Vector2 position, Vector2 velocity, float width) { _field = EntitiesOfType<Field>().Single(); _position = position; _velocity = velocity; _width = width; }
public Player() { _pen = new Pen(Ext.ColorFromHsv(120, 0.75, 0.75)); _brush = new SolidBrush(_pen.Color); _field = EntitiesOfType<Field>().Single(); Respawn(); }
public Smoke(Field field, Vector2 position, Vector2 velocity) { _field = field; _position = position; _velocity = velocity; }