Hi All,
Can anybody help me for the problem below:
I want to make a sphere class in C# which is not using DirectX. This sphere has some default values:
rotation speed, centre,radius
How to make it:
Plaese, help and inform me on [email protected] if you are in C# Corner.
Thanks in advance
Navin RohilaPosted Sep 15, 2008, 10:52 AM
Hi ,
My requirments are like as:
class name Sphere
It should have Properties
RotationSpeed,RotationDirection,RotationAxis,CentreOfSphere, ColorMapping, TransparencyLevel,....
Events : IsRotationSpeedChange //To DO LIST
..........
whenever we create an object of this class one sphere with defaultproperties must rotate in a 3D space.
All properties must work dynamically i.e. if a property is changed at run time it must be reflect atonce I mean to say if Color =Color.Green dynamically at runtime it should reflect. Same type of functionalities for other Properties also.
A lot of things I have thought past 10 days i.e. use of event and deligates .
I require some initiative help.
Thanks
Navin
Bechir BejaouiPosted Sep 14, 2008, 11:14 AM