Go Back   CodingForums.com > Search Forums

Before you post, read our: Rules & Posting Guidelines

Showing results 1 to 3 of 3
Search took 0.01 seconds.
Search: Posts Made By: explofish
Forum: JavaScript programming 01-04-2013, 08:01 PM
Replies: 5
Views: 334
Posted By explofish
okay thank you so far. the example was maype a...

okay thank you so far. the example was maype a bit confusing.

just imagine speed of ships as speed of the replay (time multiplicator). so i want to have the mother class ships to be with the same...
Forum: JavaScript programming 01-02-2013, 03:44 PM
Replies: 5
Views: 334
Posted By explofish
Post okay thank you! for the good explanation :) ...

okay thank you! for the good explanation :)

but if i have multiple child instances, how can i access the mother vars and methods in the same context?
Forum: JavaScript programming 01-02-2013, 12:53 PM
Replies: 5
Views: 334
Posted By explofish
Post Object Orientated Problem

Hey guy's,

im pretty new to oop JS programming. Here is my problem:

function Ships(){
this.speed=1
}

Ships.prototype.faster=function{
this.speed=this.speed+1
Showing results 1 to 3 of 3

 
Forum Jump

All times are GMT +1. The time now is 12:08 AM.