Permalink
Browse files

Class_base_draw implements interface

  • Loading branch information...
VVS1864 committed Feb 19, 2018
1 parent ddeaade commit 1ddb34251de82b9eeda8094de69e71865614bd26
@@ -9,7 +9,7 @@
* @author vlad
*
*/
public class Class_base_draw{
public class Class_base_draw implements Interface_base_draw{
protected Core core = Core.c;
//Points for create object
public float x1;
@@ -87,4 +87,12 @@ public void set_next(String message1, String message2, Interface_base_draw next_
core.global.current_function = next_class;
}
@Override
public void run(){
}
@Override
public void mouse_move_event() {
}
}
@@ -8,7 +8,7 @@
* @author vlad
*
*/
public class draw_line extends Class_base_draw implements Interface_base_draw{
public class draw_line extends Class_base_draw {
public draw_line() {
super();
@@ -21,10 +21,6 @@ public void run(){
core.program_state.set_default(); // Kill another processes if they are.
super.init_draw("Line - First point:","Escape - stop", next_class, init_class);
}
@Override
public void mouse_move_event() {
}
}
@@ -3,7 +3,7 @@
import modules.base_draw_entities.Interface_base_draw;
import modules.base_draw_entities.Class_base_draw;
public class draw_line_2 extends Class_base_draw implements Interface_base_draw{
public class draw_line_2 extends Class_base_draw{
public draw_line_2() {
super();
@@ -14,11 +14,5 @@ public void run() {
Interface_base_draw next_class = new draw_line_3();
super.draw_1("Line - next point:","Escape - stop", next_class);
}
@Override
public void mouse_move_event() {
}
}
@@ -7,7 +7,7 @@
import samoJ.ShapeLine;
import samoJ.ObjectMode;
public class draw_line_3 extends Class_base_draw implements Interface_base_draw{
public class draw_line_3 extends Class_base_draw{
public draw_line_3() {

0 comments on commit 1ddb342

Please sign in to comment.