View Single Post
  #4  
Old 04-10-2011, 06:38 AM
WhiteDragon WhiteDragon is offline
Banned
Join Date: Feb 2007
Posts: 1,002
WhiteDragon is a splendid one to beholdWhiteDragon is a splendid one to beholdWhiteDragon is a splendid one to beholdWhiteDragon is a splendid one to beholdWhiteDragon is a splendid one to behold
Quote:
Originally Posted by Devil_Lord2 View Post
Again, assuming I got what WhiteDragon was saying about the libraries .. unless he didn't mean for us to see them.. I would love to see and edit the basic functions too.
I did not mean that default functions should be overwriteable.


I meant something like onwall accepting the tiletype function as a parameter:
PHP Code:
temp.onwall = function (temp.tileTypetemp.blockingTypestemp.xtemp.y) {
  return (
temp.tileType(temp.xtemp.yin temp.blockingTypes);

And likewise, other functions would accept an onwall function for their needs, which could be the one defined above, or another one.

Anyways, this would be a monumental amount of work and is just a pipedream.



Snapping back to reality, it is important for overriding, prototypes, and closures to be implemented.

I'd like to see some attention be given to these 3 things, because it would let the developers 'fix' a lot of problems with the default stuff without involving Stefan or rewriting everything from scratch.
Reply With Quote