All Downloads are FREE. Search and download functionalities are using the official Maven repository.

robocode.robocodeGL.LineGL Maven / Gradle / Ivy

/*
 * Copyright (c) 2001-2023 Mathew A. Nelson and Robocode contributors
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * https://robocode.sourceforge.io/license/epl-v10.html
 */
package robocode.robocodeGL;


import java.awt.Color;

import gl4java.GLFunc;


/**
 * Dummy class that stub out RobocodeGL 0.1.4 functionality.
 *
 * Original author is David Alves for RobocodeGL.
 */
public class LineGL extends RenderElement {

	public LineGL() {}

	public LineGL(double x1, double y1, double x2, double y2) {}

	public void setLine(double x1, double y1, double x2, double y2) {}

	public void setWidth(double lineWidth) {}

	public void setColor(Color c) {}

	public void draw(GLFunc gl) {}

	public float getStringX() {
		return 0f;
	}

	public float getStringY() {
		return 0f;
	}	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy