Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

11991 Posts in 1587 Topics- by 3509 Members - Latest Member: lioneltenel

27. May 2012, 01:07:38 am
Xith3D CommunityGeneral CategoryFeature Requests & Brilliant Ideas (Moderators: Marvin Fröhlich, 'n ddrylliog)Scheduled Operation methods and Collision match
Pages: [1]
Print
Author Topic: Scheduled Operation methods and Collision match  (Read 1481 times)
BrazilianBoy
Becoming dependent
**
Offline Offline

Posts: 208


l_p_camargo@hotmail.com
View Profile Email
« on: 15. September 2007, 03:02:16 pm »

Hi Smiley

Could you dev created methos in op. sched. and  like this:
Code:
opSched.getTotalScheduledOps() (returns the total number of ScheduledOperations)

What about making
Code:
CollisonMatch.setAlive(boll alive)
a working method?

Would be very nice, to debug my app and improve performance.


Lucas.
« Last Edit: 15. September 2007, 03:11:27 pm by BrazilianBoy » Logged

Getting my hands dirty Smiley
Marvin Fröhlich
Xith Lord
Administrator
Guru
*****
Offline Offline

Posts: 4381


May the 4th, be with you...


View Profile
« Reply #1 on: 15. September 2007, 03:26:01 pm »

I have added such methods. But I didn't want to "spam" the OperationScheduler interface with methods like this, since they are not needed for the system to work.

Use it like this:
Code:
int n = ((OperationSchedulerImpl)rl.getOperationScheduler()).getNumberOfSchedOps();
int m = ((OperationSchedulerImpl)rl.getOperationScheduler()).getNumberOfIntervals();

Marvin
Logged
Pages: [1]
Print
Jump to:  

Theme orange-lt created by panic