Ejemplo n.º 1
0
        public void Draw(SpriteBatch spriteBatch, World world, GameTime gameTime)
        {
            float positionX;
            float positionY;

            world.Camera.setNPCPosition(DrawnPosition, out positionX, out positionY);

            base.Draw(spriteBatch, positionX, positionY, world.Map, gameTime);
        }
Ejemplo n.º 2
0
 public Camera(World world)
 {
     mWorld = world;
     TilesCountX = mWorld.Map.TilesCountX;
     TilesCountY = mWorld.Map.TilesCountY;
 }
Ejemplo n.º 3
0
 public PeerPlayer(Texture2D spriteSheet, Vector2 coordinates, World world, int unique)
     : base(spriteSheet, coordinates)
 {
     Name = "Buddy"; //change to get from online
     mUniqueId = unique;
 }