Esempio n. 1
0
        public LandRat(Land land, int seed, Rat creature)
            : base(creature, land)
        {
            Random rdm = new Random(seed);

            texture = new DrawableTexture("whiteSquare", this);
            texture.size = new Vector2(10f, 10f);
            texture.filter = Color.Black;
            texture.rotation = (float)(rdm.NextDouble() * Math.PI * 2f);
        }