001package myproject.model.swing; 002 003import myproject.model.MP; 004 005/** 006 * Static class for visualization parameters. 007 */ 008class VP { 009 private VP() {} 010 /** Width of model elements, in meters */ 011 static double elementWidth = MP.carLength; 012 /** Gap between model elements, in meters */ 013 static double gap = 1; 014 /** Width of the displayed graphics window, in pixels */ 015 static int displayWidth = 1000; 016 /** Height of the displayed graphics window, in pixels */ 017 static int displayHeight = 1000; 018 /** Delay introduced into each graphics update, in milliseconds */ 019 static int displayDelay = 50; 020 /** Scalefactor relating model space to pixels, in pixels/meter */ 021 static double scaleFactor = 1; 022}