Back to project page ubisoldiers.
The source code is released under:
MIT License
If you think the Android project ubisoldiers listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.github.gobbisanches.ubisoldiers.mechanics; /*w w w .j a va 2 s . c o m*/ /** * Created by sanches on 7/5/14. */ // Design Pattern: Visitor // A BattleLogParser object is a visitor to the BattleLog and BattleLogEntry classes public interface BattleLogParser { public void onStartParsing(); public void onFinishParsing(); public void parseShootingEntry( int round, BattleLogEntry.ShootingDirection direction, String shooterName, String targetName, int damage); public void parseBattleResultEntry( BattleLogEntry.BattleResultType battleResultType); }