![]() Topic awaiting preservation: Going Object-oriented in Javascript (Page 1 of 1) |
|
---|---|
Maniac (V) Mad Scientist From: 127 Halcyon Road, Marenia, Atlantis |
![]() I'm trying to design a 'Galagan-style' space shooter in Javascript to cure |
Bipolar (III) Inmate From: the uterus |
![]() No speaka englass, only memory pointer..... code: <script language="javascript">
|
Paranoid (IV) Inmate From: France |
![]() Petskull: great idea! I recently did a BoulderDash on my laptop to kill the time I was loosing in my the public transports. code: <script language="javascript">
|
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
![]() Once you've created a class as the others have explained, you can make an instance of it as follows: |
Maniac (V) Mad Scientist From: 127 Halcyon Road, Marenia, Atlantis |
![]() quote:
|