Linkable objects

sapier
Member
 
Posts: 763
Joined: Tue Aug 16, 2011 18:17

Linkable objects

by sapier » Wed Jan 11, 2012 20:54

This patch adds a derivable base class that may be added to any object eg player/lua/rat etc and provides a interface to link and unlink them. You still need to implement the virtual methods as they need access to elements of the server/clientactiveobject which i didn't want to touch. This patch won't add any features by itself. There are other patches needed i just wanted to create small patches to increase chances they get merged.

Have a look at it and comment what can be done better!

Patch
Last edited by sapier on Wed Jan 11, 2012 20:54, edited 1 time in total.
DON'T mention coding style!
(c) sapier all rights reserved
 

Return to Minetest Engine

Who is online

Users browsing this forum: No registered users and 7 guests

cron