🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Mini update.

Published September 11, 2008
Advertisement
Little work tonight. I have method picking based on explicit identifier and combined with a standard parameter working now. There's no priority for the identifier versions yet. I also need to make null not trigger the explicit identifier methods [edit: done]. Mostly though I'm still running into mental roadblocks about how to implement the intermediary types for the phrase definitions... Anyways, test source:

public class foo{	public void bar me{ print "me.\r\n"; }	public void bar you{ print "you.\r\n"; }	public void bar (bool eh){		if(eh){			print "EH!\r\n";		}else{			print "enh.\r\n";		}	}}public static void main(){	(new foo).bar me;	(new foo).bar you;	(new foo).bar true;	(new foo).bar(false);}


me.you.EH!enh.
0 likes 0 comments

Comments

Nobody has left a comment. You can be the first!
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Profile
Author
Advertisement
Advertisement