public Creature(World world, MainGameContent res, Vector2 position, int eyeCount = DefEyeCount, Network initNw = null) : base(world, res.TCreature, position) { Eyes = new Vision(this, eyeCount); Brain = new Brain(this, initNw); Propellant = new Propellant(this, res); Attack = new Attack(this, res); }
public Food(World world, MainGameContent res, Vector2 position) : base(world, res.TFood, position) { }
public Attack(Creature owner, MainGameContent res) : base(res.TAttack, DrawableOrigin.Center) { Owner = owner; Res = res; Radius = Res.TAttack.Width / 2; }
public Propellant(Creature owner, MainGameContent r) { Particles = new List <PropellantParticle>(); Owner = owner; Res = r; }