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); }
public Camera(World world) { mWorld = world; TilesCountX = mWorld.Map.TilesCountX; TilesCountY = mWorld.Map.TilesCountY; }
public PeerPlayer(Texture2D spriteSheet, Vector2 coordinates, World world, int unique) : base(spriteSheet, coordinates) { Name = "Buddy"; //change to get from online mUniqueId = unique; }