001package com.ctre.phoenix; 002 003/** 004 * Interface for loopable objects 005 */ 006public interface ILoopable 007{ 008 /** 009 * Function called when object starts 010 */ 011 public void onStart(); 012 /** 013 * Function called every loop 014 */ 015 public void onLoop(); 016 /** 017 * @return true if object is done 018 */ 019 public boolean isDone(); 020 /** 021 * Function called when object stops 022 */ 023 public void onStop(); 024}