What's new?
|
Help
|
Directory
|
Sign in
heron-language
Heron is an object-oriented programming language for model driven architecture
Project Home
Downloads
Wiki
Issues
Source
Checkout
|
Browse
|
Changes
|
Source Path:
svn
/
trunk
/
output
/
BallBallCollisionEvent.java
r47
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:
/trunk/heron.vcproj
/trunk/heron_grammar.hpp
/trunk/heron_to_java.hpp
/trunk/input/Demo.hrn
/trunk/jaction_grammar.hpp
/trunk/output/Ball.java
...tput/BallBallCollisionEvent.java
...tput/BallWallCollisionEvent.java
/trunk/output/CollisionEvent.java
/trunk/output/Demo.java
/trunk/output/HeronApplication.java
/trunk/output/Line.java
/trunk/output/Painter.java
/trunk/output/Point.java
/trunk/output/Shooter.java
/trunk/output/Vector.java
/trunk/output/Wall.java
/trunk/yard/yard_base_grammar.hpp
/trunk/yard/yard_tree.hpp
Project members,
sign in
to write a code review
Older revisions
All revisions of this file
File info
Size: 493 bytes, 19 lines
View raw file