The "method" is matched with a PHP class so that I can instantiate the class and pass it the rest of the data to handle the response, in this case ensuring the user can afford the item and if so purchasing the item. In this system I would then continue to add new classes that represent each action or set of actions such as selling items, traveling, and so on.
Coming from Michigan there's an initial reaction to mock the greater Seattle area for shutting down as soon as snowflakes start falling, but once you see how steep some of the hills are combined with the freezing of the water once the sun goes down, you quickly see why it doesn't take much to shut down this area.
Hopefully folks are staying inside today, or at least avoiding driving around the steeper areas. :)
I need some advice from musicians, specifically piano players and more specifically those who have used digital pianos. I'm looking to get into piano and have absolutely no idea what to look for. I don't know what price ranges indicate "good", "great", or "crap" like I do with other products.
What I do know is what I'm kind of looking for:
1) I live in an apartment so size and volume matter, hence my desire for a digital piano. They tend to be thinner (like this Yamaha) and can be played with headphones.
2) I'm not a piano player right now. I have been playing music for about 12 years now and taught myself guitar so I'm not too worried about the learning part; I just don't want to go all out on a piano right now in case I lose interest at some point. I eventually want something nice like that Yamaha, but don't want to drop the $1500-$2000 for it on my first piano.
So any suggestions? I've seen some digital pianos (not in the fancy setup like that Yamaha I linked) for about $500-$600. Is that going to be a decent purchase? Should I care whether the output is MIDI or USB? Are there any features I should look for or avoid (i.e. bullets points that sound good but really aren't useful)? Semi-related, what good software is out there for Windows for recording from such an instrument? My only experience with recording software was GarageBand which was nice, but I no longer have a Mac.
Something I was thinking about today as I instantiated an object to use for a piece of tag data just to flag something. Why is the 'object' type not abstract? As far as I can tell the main reason is for use with the 'lock' keyword such as:
privateobject myLock = newobject();
// do something thread safe
Today I was using it just as a flag. I had an object that I needed to flag as having been used. The quick and dirty way was to abuse that object's "object Tag" property by just creating a new object and assigning it. Then I can later just check if the Tag is null or not.
Any other ideas or uses for instantiating the 'object' type? I'm really curious why the C#/.NET designers chose to leave 'object' as a non-abstract type though I'm not sure that's something I'll ever know for certain.
I just got a bunch of .X models that I want to use, but I need to make some changes. However I can't seem to find a single tool that can convert them into FBX or OBJ so that I can open them up in Maya to do some tweaking.
Anyone know of such a tool? Or perhaps a .X importer for Maya? I've found plenty on exporting .X but I can't find anything on importing or converting .X.