wtf is initiating Python???

So I decided to try out making a bunch of class's like a game engine to see how the things work...
I ran this, and even without calling the class's, they were running.  I thought I had to call them for them to run?  WTH...... I'm going to bed.  Here's a snippet of what I'm seeing. Notice how I didnt __init__ map, but it is running.

Ok, from what I understand,  the __init__ is to create variables that belong to the class, it has nothing to do with whether the class runs or not.  DOH.  You make a class, it is an object in the program.
it is created.  Then use it.



Comments

Popular posts from this blog

JavaScript Ascii animation with while loops and console.log

JavaScript and a Matrix

parenting, learning, and code