public ChunkRenderer(Chunk chunk, World world)
        {
            this.WorldObj = world;
            this.Chunk = chunk;

            this.Buffer = new VertexBuffer();
        }
Example #2
0
        public void Run()
        {
            Console.Title = "Legends of Arcodia Console";

            this.TheWorld = new World();
            this.ThePlayer = new EntityPlayer(this.TheWorld);
            this.TheWorld.SpawnEntityInWorld(this.ThePlayer);

            this.Window = new Window(GetInstance());

            this.RenderGlobal = new RenderGlobal(GetInstance());

            this.Window.Run();
        }
        public void SetWorld(World world)
        {
            if (world != null)
            {
                this.WorldRenderer = new WorldRenderer(this.Arcodia, world);

                this.WorldRenderer.Init();
            }
            else
            {
                if (this.WorldRenderer != null)
                {
                    this.WorldRenderer.Dispose();

                    this.WorldRenderer = null;
                }
            }
        }
 public WorldRenderer(Arcodia game, World world, RenderGlobal renderer)
 {
     this.Arcodia = game;
     this.WorldObj = world;
     this.RenderGlobal = renderer;
 }
 public void SetWorld(World world)
 {
     this.WorldObj = world;
 }
 public WorldRenderer(Arcodia game, World world)
     : this(game, world, game.RenderGlobal)
 {
 }
Example #7
0
 protected Entity(World world)
 {
     this.WorldObj = world;
 }
 public WorldProvider(World world)
 {
     this.WorldObj = world;
 }
 protected EntityLiving(World world)
     : base(world)
 {
 }
 public EntityPlayer(World world)
     : base(world)
 {
     this.MovementHandler = new MovementHandler();
     this.RotationHandler = new RotationHandler();
 }