From: Rene S. <sa...@us...> - 2005-02-06 19:05:06
|
Update of /cvsroot/jake2/jake2/src/jake2/game In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16462/src/jake2/game Modified Files: GameUtil.java Log Message: some methods public, because of monster refactoring / coming bot interface Index: GameUtil.java =================================================================== RCS file: /cvsroot/jake2/jake2/src/jake2/game/GameUtil.java,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** GameUtil.java 12 Jan 2005 12:14:17 -0000 1.8 --- GameUtil.java 6 Feb 2005 19:04:55 -0000 1.9 *************** *** 782,786 **** * triggered by damage ============= */ ! static int range(edict_t self, edict_t other) { float[] v = { 0, 0, 0 }; float len; --- 782,786 ---- * triggered by damage ============= */ ! public static int range(edict_t self, edict_t other) { float[] v = { 0, 0, 0 }; float len; *************** *** 901,905 **** * returns true if the entity is in front (in sight) of self ============= */ ! static boolean infront(edict_t self, edict_t other) { float[] vec = { 0, 0, 0 }; float dot; --- 901,905 ---- * returns true if the entity is in front (in sight) of self ============= */ ! public static boolean infront(edict_t self, edict_t other) { float[] vec = { 0, 0, 0 }; float dot; *************** *** 1685,1689 **** // } // ============================================================================ ! static EntThinkAdapter M_CheckAttack = new EntThinkAdapter() { public boolean think(edict_t self) { --- 1685,1689 ---- // } // ============================================================================ ! public static EntThinkAdapter M_CheckAttack = new EntThinkAdapter() { public boolean think(edict_t self) { |