Creating Objects from txt file?
Hey, I've been reading a little about Object I/O Stream, and I'm not sure if I'm understanding it. Can you create new objects from scratch without writing any code?
Here's an example of what I mean
Let's say I want to create an instance of an Enemy from a txt file like this:
//Object Name x location y location width height
Enemy1 16 16 16 16
Would I be able to do
Enemy enemy1 = new Enemy1(16,16,16,16);
Without actually typing it in the actual code by using a file?