package baf.guide;
import java.util.*;
import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;

public class Chron extends Item {

  public static Year forName(String name) throws IOException {
    return (Year)forPath("/chron/"+name);
  }

  public Chron(String path) throws IOException {
    super(path);
  }

  public String getTag() {
    return ":c";
  }

  public String getDescription() {
    return "New adventure game reviews for "+name;
  }

  public void listing(ServletOutputStream out, Game games[])
    throws IOException {
    for (int i=0; i<games.length; i++) {
      out.println("<hr>\n");
      games[i].body(out);
    }
  }

}
