I'm having difficulty getting the Chipmunk physics engine to do what I want. The only solution that appears to work requires some heavy vector math. B ...
I'm having difficulty getting the Chipmunk physics engine to do what I want. The only solution that appears to work requires some heavy vector math. B ...
I'm working on a project to simulate a car. The requirements are to demonstrate the operation of a car by filling it with fuel and then run the car un ...
I'm not sure whether I'm violating OOP conepts insanely. Say there is a Carclass which "has" an Engine and a Tank. When the Engine is operating , it w ...
i've already asked something similar, but now i've the problem to manage and realize a "realistic" steering for a simple 2d (top-down) car racing game ...
I was asked to describe the relationship between vehicle, car, toyota in object oriented programming term (let's say in php environment). I was stumpe ...
What is good design in this simple case: Let's say I have a base class Car with a method FillTank(Fuel fuel) where fuel is also a base class which ha ...
Apart from unambiguous clarity, why should we stick to: car.getSpeed() and car.setSpeed(55) when this could be used as well : car.speed() and car.spee ...
Here's the scenario. I have one hundred car objects. Each car has a property for speed, and a property for price. I want to arrange images of the car ...
I am developing a class library which will include the object Car. The dilemma is, Car itself will be a class with fields such as Registration Number ...
(this is a C-like environment) Say I have two instance objects, a car and a bodyShop. The car has a color iVar and corresponding accesors. The bodySho ...
(Sorry for the newbie question.) In Ruby, what is the difference between the loops: and ? is there a difference in efficiency, or why do we nee ...
Say I have a car class with attributes make and registration, and i create an ArrayList to store them. How do I display all the elements in the ArrayL ...
I understand the definition of a Linked List, but how can it be represented and related to a common concept or item? For example, composition (EDIT: ...
Let's say I have the following class structure: Let's also give a Car a handle to its Engine. A FooCar will be created with a FooEngine* and a BarC ...
I'm going to try to ask my question in the context of a simple example... Let's say I have an abstract base class Car. Car has-a basic Engine object. ...