Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Created WrappedInteger, so no longer have to generate a large handful…
… of new objects per draw loop
- Loading branch information
Jonathan Feinberg
committed
Aug 17, 2010
1 parent
13ccf86
commit 85a0024
Showing
5 changed files
with
65 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package jycessing; | ||
|
||
import org.python.core.PyInteger; | ||
|
||
abstract public class WrappedInteger extends PyInteger { | ||
|
||
abstract public int getValue(); | ||
|
||
public WrappedInteger() { | ||
super(0); | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters