What's new? | Help | Directory | Sign in
Google
heron-language
Heron is an object-oriented programming language for model driven architecture
  
  
  
  
    
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
public class BallBallCollisionEvent extends HeronObject {
// attributes
public Ball ball1;
public Ball ball2;
// operations
public BallBallCollisionEvent(final double timeElapsed, final Ball ball1, final Ball ball2){
{
this .timeElapsed = timeElapsed ;
this .ball1 = ball1 ;
this .ball2 = ball2 ;
}
}
// state entry procedures
// dispatch function
public void onSignal(HeronSignal signal) {
if (false) {
}
}
}
Show details Hide details

Change log

r44 by cdiggins on Mar 26, 2008   Diff
Improved parsing. Java code generation
still not great.
Go to: 
Project members, sign in to write a code review

Older revisions

All revisions of this file

File info

Size: 493 bytes, 19 lines