tetris

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
tetris [2009/10/26 14:34]
aspectscript
tetris [2009/10/26 14:35] (current)
aspectscript
Line 4: Line 4:
  
 On the left it is the [[http://www.gosu.pl/tetris/|original tetris]] game, unmodified. On the left it is the [[http://www.gosu.pl/tetris/|original tetris]] game, unmodified.
-On the right it is the instrumented version, with one global aspect deployed this way:+On the right it is the instrumented version, with one global aspect deployed this way (the pointcut matches all the join points it sees and the advice just proceeds):
  
 <code java> <code java>
Line 11: Line 11:
 AspectScript.around(pointcut, advice); AspectScript.around(pointcut, advice);
 </code> </code>
- 
-The poointcut matches all the join points it sees and the advice just proceeds. 
  
 The counter below the game frames shows the number of jp seen by the aspect. The counter below the game frames shows the number of jp seen by the aspect.
  • tetris.1256578475.txt.gz
  • Last modified: 2009/10/26 14:34
  • by aspectscript