Facebook
From asa, 4 Years ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 260
  1. package com.company;
  2.  
  3. public class SkrzyniaBiegow extends Komponent{
  4.     private int aktualnyBieg;
  5.     private int iloscBiegow;
  6.     private int akualnePrzelozenie;
  7.     private Sprzeglo sprzeglo = new Sprzeglo();
  8.  
  9.     public int zwiększBieg(){
  10.         aktualnyBieg++;
  11.         if(aktualnyBieg>iloscBiegow){
  12.            
  13.         }
  14.         return aktualnyBieg;
  15.     }
  16.  
  17.     public int zmniejszBieg(){
  18.         aktualnyBieg--;
  19.         return aktualnyBieg;
  20.     }
  21.  
  22.     public int getAktualnyBieg() {
  23.         return aktualnyBieg;
  24.     }
  25.  
  26.     public int getAkualnePrzelozenie() {
  27.         return akualnePrzelozenie;
  28.     }
  29. }
  30.  

Replies to asa rss

Title Name Language When
Re: asa asa text 4 Years ago.