This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package lesson4; | |
/** | |
* Created by anna on 27.10.15. | |
*/ | |
public class Bullet { | |
private int x = -100; | |
private int y = -100; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package lesson4; | |
/** | |
* Created by anna on 27.10.15. | |
*/ | |
public class BattleField { | |
private int BF_WIDTH = 576; | |
private int BF_HEIGHT = 576; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package lesson4; | |
import javax.swing.*; | |
import java.awt.*; | |
/** | |
* Created by anna on 27.10.15. | |
*/ | |
public class ActionField extends JPanel{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package lesson4; | |
/** | |
* Created by anna on 27.10.15. | |
*/ | |
public class Tank1 { | |
private int direction = 1; | |
private int x = 128; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package lesson4; | |
import javax.swing.*; | |
import java.awt.*; | |
/** | |
* Created by anna on 27.10.15. | |
*/ | |
public class ActionField extends JPanel{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package lesson4; | |
/** | |
* Created by anna on 28.10.15. | |
*/ | |
public class Launcher { | |
public static void main(String[] args) throws Exception { | |
ActionField af = new ActionField(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PK �s\G META-INF/�� PK PK �s\G META-INF/MANIFEST.MF�M��LK-.� K-*��ϳR0�3��r.JM,IM�u� ���[(h�%&�*8��%� �k�r�&f��:�$[)�����$��%g��r�r PK��f[a b PK 0r\G lesson4/Launcher.classE��J�@��I�Dcҋ��ƅ���,�ND����A\Mҡ��L$�k�����P�B�����;?���� ��.lt�0�ѡ�`��>�}%�,�����u�MC+�J<Ti$� ��X)���� � W�`\�R�.5��-c�Z�Lz���*��Hj�y����5���C7E��apkl$E2�p�[�Mk�Q�v}�".iA]�7'�R�����1�q}0�Jq��#RF�8]��Ӄ0���h��<B��� ��`<�`�g�j� ��K�5���̢^�nk���PKi�0x � PK 0r\G lesson4/ActionField.class}W xT���,y��&!5� �E�Ő�@4�2�<��df�y�"�E��]l(��kqAeBŽ����.V�hWm��������y�%�@�/�s�=�ܳ�s�{勧�0K�M0rq�*�{�Tl�"�dq���^�b�,.�\.{W��R�UB�M�v;dw���{��xq-�p�_�Wev���у�<�Y���*n�����p���y�����%��*v˙;��"��}��{���^�'��< ���xЋ����7�o��}���"��=*z?&`.�<��d�+���Sb�~�8$�^9����xFų | |
F�575/��_�jQs�|� | |
��� | |
�MQ=���N�� FTo���p����S0j`�����iOG�����=ibd�H,b�U�,�XJu�.<"1��tW��l �G����ء'�H<� |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package lesson4; | |
/** | |
* Created by anna on 28.10.15. | |
*/ | |
public enum Color { | |
VIOLET, RED, PINK, BEIGE, ORANGE, YELLOW, GREEN, FOREST, TURQUOISE, BLUE, NAVY, PURPLE, BROWN, GREY, WHITE, BLACK; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package lesson4; | |
/** | |
* Created by anna on 28.10.15. | |
*/ | |
public class Car1 { | |
private String name; | |
private String ownerName; | |
private int capacity; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package lesson4.tankInheritance; | |
/** | |
* Created by anna on 04.11.15. | |
*/ | |
public class BT7 extends Tank { | |
private int maxSpeed = 72; | |
public BT7() { |