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 BallWallCollisionEvent extends HeronObject {
// attributes
public Ball ball;
public Wall wall;
// operations
public BallWallCollisionEvent(final double timeElapsed, final Ball ball, final Wall wall){
{
this .timeElapsed = timeElapsed ;
this .ball = ball ;
this .wall = wall ;
}
}
// 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: 485 bytes, 19 lines