Get light from chunk
#3
I see what you mean,

In order to achieve your proposal, and as I'm not a fan of copy-paste, I propose a refactoring of this part of cChunk (and cChunkMap in fact) that would use polymorphism to include all those methods inside a single one.

You'll find this proposition soon on another pull-request.

I used another branch because the refactoring is not related to mob spawning, and could be used to grown pumpkin or sugar cane event if mob spawning is not accepted.
Reply
Thanks given by:


Messages In This Thread
Get light from chunk - by mgueydan - 09-08-2013, 09:08 PM
RE: Get light from chunk - by xoft - 09-09-2013, 01:02 AM
RE: Get light from chunk - by mgueydan - 09-11-2013, 01:08 AM
RE: Get light from chunk - by xoft - 09-11-2013, 01:24 AM
RE: Get light from chunk - by mgueydan - 09-11-2013, 02:02 AM
RE: Get light from chunk - by xoft - 09-11-2013, 03:54 PM



Users browsing this thread: 1 Guest(s)